Exemplo n.º 1
0
 public IActionResult GetCurrencies()
 {
     try
     {
         var result = _repository.GetAllCurrencies();
         _repository.AddNewInternalRequest(GetRequestUrl());
         return(Ok(result));
     }
     catch (System.Exception)
     {
         return(StatusCode(500));
     }
 }