示例#1
0
 //学生登录
 public Models.XueShengBiao login(Models.XueShengBiao Student)
 {
     try
     {
         var json = DBContext.XueShengBiao.Where(p => p.MiMa == Student.MiMa && p.Phone == Student.Phone).First();
         return(json);
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
示例#2
0
 public Models.XueShengBiao XueSheng(Models.XueShengBiao xueSheng)
 {
     return(dAL.login(xueSheng));
 }