public async Task <ActionResult> Add(AddViewModel model) { if (!ModelState.IsValid) { return(View("_Add", model)); } await _postCategoryService.AddAsync(model.PostCategoryName); return(Content("Refresh")); }