Beispiel #1
0
        public void ModifyUser(int id, string email, string name, string phone, string address, string zipcode, string age)
        {
            User user = userDb.GetUser(id);

            user.Email   = email;
            user.Name    = name;
            user.Phone   = phone;
            user.Address = address;
            user.Zipcode = zipcode;
            user.Age     = age;

            userDb.ModifyUser(user);
        }