Example #1
0
 /// <summary>
 /// 修改
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public ActionResult UpdateModel(Login_Info model)
 {
     if (User_dal.Update(model) > 0)
     {
         return(RedirectToAction("Index"));
     }
     else
     {
         return(RedirectToAction("Update"));
     }
 }