namespace MyOffice.Data.Repositories.Account; using Models.Accounts; public interface IAccountRepository { List GetAll(Guid userId); List GetByCategory(Guid userId, Guid categoryId); List GetByCategoryDetailed(Guid userId, Guid categoryId); AccountDetailed? GetByIdDetailed(Guid userId, Guid id); bool Add(Account account); bool Delete(Account account); Account? Get(Guid userId, Guid id); bool Update(Account account); bool Remove(Account account); List FindAccounts(Guid userId, string term); List GetRestAtDate(Guid userId, DateTime date); List GetIncomeByCategories(Guid userId, DateTime from, DateTime to); List GetIncomeByCategory(Guid userId, Guid categoryId, DateTime from, DateTime to); List GetOutcomeByCategories(Guid userId, DateTime from, DateTime to); List GetOutcomeByCategory(Guid userId, Guid categoryId, DateTime from, DateTime to); }