public LoginViewModel() { CabinCrewLogin = new CabinCrewLogin { Login = "", Password = "" }; LoginCommand = new LoginCommand(this); CancelLoginCommand = new CancelLoginCommand(this); CancelLogin(); }
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); }