public async Task <IActionResult> Create(DesignationCreateModel model) { if (ModelState.IsValid) { var desgination = BuildDesignation(model); await _designationService.Create(desgination); return(RedirectToAction("Index", "Designation")); } return(View(model)); }