public async Task <PartialViewResult> AddEmployee() { ViewBag.DesignationList = await _designation.GetDesignationSelectList(); ViewBag.DepartmentList = await _department.GetDepartmentSelectList(); return(PartialView("_AddEmployee", new EmployeeModel())); }