public async Task <ActionResult> CreateCategoryAsync([FromBody] ReqCreateCategory category) { var result = await _categoryLogic.CreateCategoryAsync(category); return(Ok(new BaseResponse(result))); }
public async Task <ActionResult> CreateCategoryAsync([FromBody] ReqCreateCategory category) { var result = await _categoryLogic.CreateCategoryAsync(category); return(Ok(new BaseResponse(result))); }