Created
May 3, 2020 05:16
-
-
Save k4m4r82/faeeb982b8ae23df4ef4d0e116df1a11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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