Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NorthwindApi.Model.Repository
{
public interface IBaseRepository<T>
where T : class
{
Task<int> Save(T obj);
Task<int> Update(T obj);
Task<int> Delete(T obj);
Task<IList<T>> GetAll();
}
}
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.