public string RequestLogin(InputData_DTO.Models.UserLogin us, string username, string password)
 {
     if (username == "" || password == "")
     {
         if (username == "")
         {
             //MessageBox.Show("Input Username, Please!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
             return("Login Failed - Username is required");
         }
         else
         {
             //MessageBox.Show("Input Password, Please!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
             return("Login Failed - Password is required");
         }
     }
     else
     {
         bool checkauthentication = lgauthen.CheckAuthenticationLogin(us);
         if (us.username == username && us.password == password)
         {
             if (checkauthentication == true)
             {
                 return("Login Success");
             }
             else
             {
                 return("Account was denied");
             }
         }
         else
         {
             return("Username or Password is incorrect");
         }
     }
 }
 public string RequestLogin(InputData_DTO.Models.UserLogin us, string usname, string ps)
 {
     return(new InputData_DAO.Services.LoginUser.LoginRequest {
     }.RequestLogin(us, usname, ps));
 }