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

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

            return(View());
        }