You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 12345678910111213141516 |
- using BlackRock.Reporting.API.Core.Models;
-
- namespace BlackRock.Reporting.API.Core.Interfaces
- {
- public interface IRepository<TEntity> where TEntity : class, IBaseEntity
- {
- Task<TEntity> GetByIdAsync(int id);
- Task<IEnumerable<TEntity>> GetAllAsync();
- Task AddAsync(TEntity entity);
- Task AddRangeAsync(IEnumerable<TEntity> entities);
- void Update(TEntity entity);
- void UpdateRange(IEnumerable<TEntity> entities);
- void Remove(TEntity entity);
- void RemoveRange(IEnumerable<TEntity> entities);
- }
- }
|