Skip to content

Instantly share code, notes, and snippets.

@k4m4r82
Created May 3, 2020 05:16
Show Gist options
  • Save k4m4r82/faeeb982b8ae23df4ef4d0e116df1a11 to your computer and use it in GitHub Desktop.
Save k4m4r82/faeeb982b8ae23df4ef4d0e116df1a11 to your computer and use it in GitHub Desktop.
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