public async Task <IActionResult> Post(CategoryViewModel model) { if (ModelState.IsValid) { await _categoryServices.AddNewAsync(model); return(Ok()); } return(BadRequest(ModelState)); }