Beispiel #1
0
        private int ProcessRegistration(RegistrationViewModel data)
        {
            int             id   = 0;
            UserInformation info = new UserInformation();

            info.UserName   = data.UserName;
            info.Password   = data.Password;
            info.Email      = data.Email;
            info.Sex        = data.Sex;
            info.Mobile     = data.Mobile;
            info.HouseName  = data.HouseName;
            info.Profession = data.Profession;
            id = repoManager.Register(info);
            return(id);
        }