public async Task <ResponseModel <Category> > PostCategory([FromBody] Category entity) { return(await service.CreateOrUpdateCategoryAsync(entity)); }
public async Task <ResponseModel <Category> > PostCategory([FromBody] Category entity) { return(await service.CreateOrUpdateCategoryAsync(entity)); }