public ActionResult Addemployee(EmployeeModel staff)
 {
     TryValidateModel(staff);
     if (!ModelState.IsValid) return PartialView(staff);
     staffService.AddEmployee(new EmployeeDto(staff));
     return PartialView("Success");
 }
 public ActionResult Editemployee(EmployeeModel staff)
 {
     if (!ModelState.IsValid) return PartialView(staff);
     staffService.EditEmployee(new EmployeeDto(staff));
     return PartialView("Success");
 }