7using Microsoft.EntityFrameworkCore;
List< CurrencyClientModel >? Currencies
CurrencyViewModel(DataContext context, IMapper mapper)
void UpdateCurrencies(List< CurrencyClientModel > currencies)
readonly CurrencyService _currencyService
async Task GetCurrencies()
CurrencyService class inserts and updates Currency in the Database
async Task< List< Currency > > GetAllCurrencies()
Read all Currencies from database