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