public ActionResult UpdateUserProcess(UserDto user) { if (!ModelState.IsValid) { return(RedirectToAction("UpdateUserPartial")); } var userEntity = user.GenericMapper <UserDto, User>(); userService.UpdateUser(userEntity); return(Json(new { Response = "success" })); }