示例#1
0
 public async Task <ActionResult <TransactionType> > GetTransactionTypeByID([FromQuery] int id)
 {
     try
     {
         return(await _transactionTypeService.GetTransactionTypeByID(id));
     }
     catch (Exception)
     {
         return(NotFound());
     }
 }