Exemple #1
0
        public async Task <IActionResult> Post([FromBody] CreateCategoryRequestDto request)
        {
            await _blogCategoryService.Create(request);

            return(ResponseApi());
        }
Exemple #2
0
        public async Task <ActionResult> Create(ForumPostCategoryViweModel model)
        {
            await _manageBlogCategory.Create(model);

            return(View());
        }