Exemple #1
0
        public async Task <ActionResult <TransactionType> > NewTransactionType(TransactionType transactionType)
        {
            try
            {
                await _transactionTypeService.NewTransactionType(transactionType);

                return(Ok());
            }
            catch (Exception)
            {
                return(NotFound());
            }
        }