12 lines
369 B
C#
12 lines
369 B
C#
namespace Core.Blueprint.DAL.Infrastructure.Contracts
|
|
{
|
|
public interface IRepositoryBase<T> where T : class
|
|
{
|
|
ValueTask<T> GetByIdAsync(string id);
|
|
ValueTask<IQueryable<T>> GetAllAsync();
|
|
ValueTask<T> CreateAsync(T blueprint);
|
|
Task<bool> UpdateAsync(string id, T blueprint);
|
|
Task<bool> DeleteAsync(string id);
|
|
}
|
|
}
|