Taylohtio/IDP/webapi/webapi.Infrastructure.Common/Repositories/Abstract/IBaseRepository.cs

11 lines
298 B
C#

using System.Threading.Tasks;
using webapi.Domain.SeedWork;
namespace webapi.Infrastructure.Repositories
{
public interface IBaseRepository<T> where T: Entity
{
Task<T> SaveChanges(T entity, bool skipEntitySaving = false);
Task DeleteEntityAsync(T deleteEntity);
}
}