Esempio n. 1
0
 public static bool IsLogin(string UserName, string Password)
 {
     if (UserName == "")
     {
         throw new Exception("Mã người dùng không được trống!");
     }
     if (Password == "")
     {
         throw new Exception("Mật khẩu không được trống!");
     }
     try
     {
         return(DAL_DocGia.IsLogin(UserName, Password));
     }
     catch (Exception Err)
     {
         throw;
     }
 }