Example #1
0
 public ActionResult AddUserInfo(UserInfo userInfo)
 {
     userInfo.DelFlag    = 0;
     userInfo.SubTime    = DateTime.Now;
     userInfo.ModifiedOn = DateTime.Now;
     if (UserInfoService.AddEntities(userInfo) != null)
     {
         return(Content("OK"));
     }
     else
     {
         return(Content("NO"));
     }
 }