Ejemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <TransactionCategoryModel> > > GetTransactionCategories()
        {
            var result = await _transactionCategoryService.GetAll();

            if (result.Any())
            {
                return(Ok(result));
            }
            return(NoContent());
        }