Core.Blueprint.DAL/Core.Blueprint.DAL.Infrastrcture/Contracts/IRepositoryBase.cs
Sergio Matias Urquin 6358f5f199 Add project files.
2025-04-29 18:39:57 -06:00

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);
}
}