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