sync full source from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:55:09 +00:00
parent 874796c860
commit 405abdfe69
714 changed files with 70352 additions and 234 deletions
@@ -0,0 +1,17 @@
namespace MyOffice.Data.Repositories.Account;
using Models.Accounts;
public interface IAccountCategoryRepository
{
List<AccountCategory> GetAll(Guid userId);
Task<List<AccountCategory>> GetAllAsync(Guid userId, CancellationToken cancellationToken = default);
bool Add(AccountCategory accountCategory);
Task<bool> AddAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default);
AccountCategory? Get(Guid userId, Guid id);
Task<AccountCategory?> GetAsync(Guid userId, Guid id, CancellationToken cancellationToken = default);
bool Update(AccountCategory accountCategory);
Task<bool> UpdateAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default);
bool Remove(AccountCategory accountCategory);
Task<bool> RemoveAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default);
}