Beispiel #1
0
 public LoginFormCtl(ILoginForm from)
 {
     _form = from;
 }
 public LoginFormController(ILoginForm form)
 {
     _form = form;
     user = new User();
     userDAO = new UserDAO();
 }
        public ActionResult GetLoginPresentation(String userName, String password)
        {
            ILoginForm form = LoginForm.NewLoginForm(userName, password);

            return(this.Direct(new { success = true, data = form }));
        }
Beispiel #4
0
 //User myAccount;
 public GuessPresenter(IInformationForm Information, IRegistrationForm viewRegistration, ILoginForm viewLogin, IMainForm view, IGuessManager manager,
                       IMessageService messageService)
 {
     _viewLogin                  = viewLogin;
     _view                       = view;
     _manager                    = manager;
     _messageService             = messageService;
     _view.VerifyClick          += _view_VerifyClick;
     _view.HalfWordClick        += _view_HalfWordClick;
     _view.FirstLastLetterClick += _view_FirstLastLetterClick;
     _viewLogin.LogIn           += _viewLogin_LogIn;
     _viewRegistration           = viewRegistration;
     _viewRegistration.SignUp   += _viewLogin_SignUp;
     _viewLogin.SignUp          += SignUp;
     _Information                = Information;
     _view.InformationClick     += _view_InformationClick;
     _Information.SaveClick     += _Information_SaveClick;
 }
Beispiel #5
0
 public LoginPresenter(ILoginForm param)
 {
     view = param;
 }
 public AuthenPresenter(ILoginForm loginFormView)
 {
     this.loginFormView = loginFormView;
 }
Beispiel #7
0
 public LoginFormController(ILoginForm form)
 {
     _form   = form;
     user    = new User();
     userDAO = new UserDAO();
 }
Beispiel #8
0
 public LoginController(IShopModel shopModel, ILoginForm loginForm)
 {
     this.shopModel = shopModel;
     this.loginForm = loginForm;
     Initialize();
 }
 public LoginFormController(ILoginForm form, IUserRepo userRepo)
 {
     _form     = form;
     _userRepo = userRepo;
 }