public ActionResult EditPassword(string logName) { var uUCEmployeeService = AppContext.ServiceFactory.CreateService <IUUCEmployeeService>(); var entiry = new MailEditPasswordViewModel(); entiry = uUCEmployeeService.GetLogName(logName); return(View("~/views/Login/MailEditPassword.cshtml", entiry)); }
public JsonResult SavePassword(MailEditPasswordViewModel model) { var uUCEmployeeService = AppContext.ServiceFactory.CreateService <IUUCEmployeeService>(); uUCEmployeeService.SavPasswordByUser(model); //保存成功 ShowMessage("I10010"); return(Json(true)); }