public IActionResult Update(EmployeeViewModel employee)
 {
     if (!ModelState.IsValid)
     {
         return(View(employee));
     }
     try
     {
         employeeService.UpdateEmployee(EmployeeMapper.MapToDomainModel(employee));
         return(RedirectToAction(nameof(Index)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }