public async Task <IActionResult> CreateTransactionCategoryAsync([FromBody] vmTransactionCategoryCreateRequest newRequest)
        {
            // Get response from business logic
            var response = await _transactionsService.AddTransactionCategoryAsync(newRequest);

            // Return as http response
            return(response.ToHttpResponse());
        }
        public async Task <IResponse> AddTransactionCategoryAsync(vmTransactionCategoryCreateRequest newTransactionCategoryRequest)
        {
            var response = new Response();

            try
            {
                var newTransactionCategory = _mapper.Map <vmTransactionCategoryCreateRequest, TransactionCategory>(newTransactionCategoryRequest);
                // Create new payment payor
                await TransactionCategoryRepository.AddTransactionCategoryAsync(newTransactionCategory);

                response.Message = ResponseMessageDisplay.Success;
            }
            catch (Exception ex)
            {
                response.SetError(ex);
            }

            return(response);
        }