Example #1
0
        public void AddUser(string name, string gender, DateTime birthday, string email)
        {
            User newUser = new User
            {
                ID          = new Guid(),
                Name        = name,
                Gender      = gender,
                Birthday    = birthday,
                Email       = email,
                DateCreated = DateTime.Now
            };

            usrRep.AddUserToRepo(newUser);
        }