public async Task <IEnumerable <CurrencyQueryResponse> > Get() { var data = await _currencyManager.GetAllAsync(); var currencys = _mapper.Map <IEnumerable <CurrencyQueryResponse> >(data); return(currencys); }
public async Task <IActionResult> GetCurrency() { var businessCurrency = await m_manager.GetAllAsync(); return(Ok(businessCurrency)); }