public async Task <ActionResult <CurrencyQuotation> > GetCurrencyQuotation(string code) { code = code.ToUpper().Trim(); if (!_curreciesService.IsCurrencyAbaible(code)) { return(NotFound($@"The currency ""{code}"" is not available at this moment.")); } return(Ok(await _curreciesService.GetCurrencyQuotationAsync(code))); }