コード例 #1
0
        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());
        }