Files
2023-07-21 21:06:45 +03:00

14 lines
401 B
C#

namespace MyOffice.Data.Repositories.Currency;
using Models.Currencies;
public interface ICurrencyRepository
{
List<Currency> GetAll(Guid userId);
Currency? Get(Guid userId, Guid id);
Currency? GetByGlobalCurrency(Guid userId, string globalCurrencyId);
bool Add(Currency currency);
bool Update(Currency currency);
bool Remove(Currency currency);
List<Currency> GetPrimaries(Guid userId);
}