Example #1
0
File: Udal.cs Project: zhiky/lianxi
 public void DL(Umodel m)
 {
     if (m.Uname == "" || m.Upass == "")
     {
         Console.WriteLine("账户密码不能为空");
     }
     else
     {
         Console.WriteLine("登录成功");
     }
 }
Example #2
0
 public IActionResult Login(Umodel m)
 {
     return(View(dal.DL(m)));
 }