I have this function in my controller.
[HttpPost] public ActionResult Edit(EmployeesViewModel viewModel) { Employee employee = GetEmployee(viewModel.Empl
Try
ModelState.Values.First().Errors[0].ErrorMessage