public IActionResult Create(CreateEditViewModel createEditViewModel) { if (ModelState.IsValid) { int employeeId = _employee.AddEmpolyee(createEditViewModel); _employeeSkill.AddRecord(employeeId, createEditViewModel.SelectedSkillsList); return(RedirectToAction(nameof(Index))); } return(View()); }