public IActionResult GetByCurrency(string code)
 {
     try
     {
         return(Ok(_transactionsService.GetByCurrency(code)));
     }
     catch (Exception ex)
     {
         return(StatusCode(StatusCodes.Status500InternalServerError, ex.Message));
     }
 }