Files
myoffice/MyOffice.Data.Repositories/Currency/ICurrencyRepository.cs
T
2023-06-17 14:16:09 +03:00

13 lines
358 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);
}