Esempio n. 1
0
 public ActionResult SignUp(string FirstName,string SecondName,string Month,string Day,string BirthYear,string EmailAddress,string ConfirmEmailAddress,string FirstPartCellPhone,
                            string SecondPartCellPhone,string ThirdPartCellPhone,string ZipCode,string Password,string ConfirmPassword)
 {
     UserBL userBL = new UserBL();
     userBL.AddUser(FirstName, SecondName, Month, Day, BirthYear, EmailAddress, ConfirmEmailAddress, FirstPartCellPhone, SecondPartCellPhone, ThirdPartCellPhone, ZipCode, Password, ConfirmPassword);
     return View("SignUpUser", userBL);
 }
Esempio n. 2
0
 public ActionResult LogIn(string email, string password)
 {
     UserBL userBL = new UserBL();
     userBL.verifyCredentials(email,password);
     return View();
 }
Esempio n. 3
0
        //
        // GET: /User/

        public ActionResult Index()
        {
            var userBL = new UserBL();
            var list = userBL.GetAllUsers();
            return View(list);
        }