コード例 #1
0
 public string Login(Admin admin)
 {
     if (aLoginGateway.IsEmailExists(admin))
     {
         if (aLoginGateway.IsPasswordExists(admin))
         {
             return("1");
         }
         else
         {
             return("Incorrect Email or Password!");
         }
     }
     else
     {
         return("Incorrect Email!");
     }
 }