Working on organization unit table

This commit is contained in:
2020-10-02 22:22:12 +02:00
parent 2d517170fd
commit 0aea91a59c
8 changed files with 148 additions and 58 deletions

View File

@ -13,7 +13,7 @@ namespace UserService.DatabaseLayer.Repositories
{
Task<IReadOnlyList<T>> GetAllAsync(Expression<Func<NodeModel, bool>>? predicate = null, CancellationToken token = default);
Task<T?> GetAsync(Expression<Func<NodeModel, bool>> predicate, CancellationToken token = default);
Task AddAsync(T entity, CancellationToken token = default);
Task<int> AddAsync(T entity, CancellationToken token = default);
Task<bool> UpdateAsync(T entity, CancellationToken token = default);
Task DeleteAsync(T entity, CancellationToken token = default);
}