Exemple #1
0
        public async Task <IEnumerable <CurrencyQueryResponse> > Get()
        {
            var data = await _currencyManager.GetAllAsync();

            var currencys = _mapper.Map <IEnumerable <CurrencyQueryResponse> >(data);

            return(currencys);
        }
Exemple #2
0
        public async Task <IActionResult> GetCurrency()
        {
            var businessCurrency = await m_manager.GetAllAsync();

            return(Ok(businessCurrency));
        }