Beispiel #1
0
        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));
        }
Beispiel #2
0
        public JsonResult SavePassword(MailEditPasswordViewModel model)
        {
            var uUCEmployeeService = AppContext.ServiceFactory.CreateService <IUUCEmployeeService>();

            uUCEmployeeService.SavPasswordByUser(model);
            //保存成功
            ShowMessage("I10010");
            return(Json(true));
        }