// GET: User public ActionResult ResetPassword(int id) { if (Session["UserID"] != null) { TittleUserServices service = new TittleUserServices(); CustomResetUser model = service.GetUserDetail(id); return(PartialView("ResetPassword", model)); } return(null); }
public ActionResult UserActive(CustomResetUser model) { if (Session["UserID"] != null) { TittleUserServices service = new TittleUserServices(); service.ChangeUserActiveStatus(model); return(Json(new { message = "success" })); } return(Json(new { message = "error" })); }