public LogoutViewModel(IViewContainer container, string sessionId) { Container = container; SessionId = sessionId; Provider = new LoginProvider(); }
public LoginViewModel() { lProvider = new LoginProvider(); lProvider.LoginEvent += LoginEvent; }
public void LoginTest() { LoginProvider lp = new LoginProvider(); lp.LoginEvent += callback; lp.Login("*****@*****.**", "password", 1); }