public async Task <ActionResult <Category> > PostCategory(CategoryCreate categoryCreateDTO) { var category = _categoryMapper.CategoryCreate(categoryCreateDTO); _bll.CategoryService.Add(category); await _bll.SaveChangesAsync(); return(CreatedAtAction("GetCategory", new { id = category.Id }, category)); }