fix
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace MyOffice.Data.Repositories.Account;
|
||||
|
||||
using Models.Accounts;
|
||||
|
||||
public interface IAccountRepository
|
||||
{
|
||||
List<Account> GetAll(Guid userId);
|
||||
List<Account> GetByCategory(Guid userId, Guid categoryId);
|
||||
List<AccountDetailed> GetByCategoryDetailed(Guid userId, Guid categoryId);
|
||||
bool Add(Account account);
|
||||
Account? Get(Guid userId, Guid id);
|
||||
bool Update(Account account);
|
||||
bool Remove(Account account);
|
||||
}
|
||||
Reference in New Issue
Block a user