コード例 #1
0
 public ActionResult <TransactionDetailDto> Rollback(int id)
 {
     try
     {
         Transaction transaction = _manager.Rollback(id);
         return(_manager.AsTransactionDetailDto(transaction));
     }
     catch (Exception ex)
     {
         return(NotFound(ex.Message));
     }
 }