Beispiel #1
0
 public LoginViewModel()
 {
     CabinCrewLogin = new CabinCrewLogin {
         Login = "", Password = ""
     };
     LoginCommand       = new LoginCommand(this);
     CancelLoginCommand = new CancelLoginCommand(this);
     CancelLogin();
 }
Beispiel #2
0
 public PassengerLoginViewModel()
 {
     GeneralLogin = new GeneralLogin()
     {
         Login = ""
     };
     LoginCommand       = new LoginCommand(this);
     CancelLoginCommand = new CancelLoginCommand(this);
     CancelLogin();
 }
 public UserLoginViewModel(string emailAddress)
 {
     if (!string.IsNullOrEmpty(emailAddress))
     {
         Email = emailAddress;
     }
     userService            = new UserService();
     userProfileRepository  = new UserProfileRepository();
     userIdentityRepository = new UserIdentityRepository();
     CancelLoginCmd         = new CancelLoginCommand(this);
     LoginToHomeCmd         = new LoginToHomeCommand(this);
     ForgottenPasswordCmd   = new ForgottenPasswordCommand(this);
 }