Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Interface para repositório genérico
using System.Collections.Generic;
namespace Workshop.Data
public interface IRepository<T>
T Save(T entity);
T Update(T entity);
void Delete(T entity);
T ById(int id);
IList<T> All();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.