コード例 #1
0
 private static void DadosParaLogin()
 {
     LoginDAL.Add(new Login {
         Email = "Helio", Senha = "123"
     });
     LoginDAL.Add(new Login {
         Email = "Victor", Senha = "123"
     });
     LoginDAL.Add(new Login {
         Email = "Giovani", Senha = "123"
     });
     LoginDAL.Add(new Login {
         Email = "Professor", Senha = "123"
     });
 }
コード例 #2
0
 public bool Add(LoginModel model)
 {
     return(loginDAL.Add(model));
 }