Exemplo n.º 1
0
        public async Task <ActionResult> CreateCategoryAsync([FromBody] ReqCreateCategory category)
        {
            var result = await _categoryLogic.CreateCategoryAsync(category);

            return(Ok(new BaseResponse(result)));
        }