Exemplo n.º 1
0
 public string Login(Admin admin)
 {
     if (aLoginGateway.IsEmailExists(admin))
     {
         if (aLoginGateway.IsPasswordCorrect(admin))
         {
             return("ok");
         }
         return("Incorrect Password!!");
     }
     else
     {
         return("Incorrect Email or Password!!");
     }
 }