Beispiel #1
0
        public void ModifyUser(UserUI userUI)
        {
            User user = new User()
            {
                Id       = userUI.Id,
                Balance  = userUI.Balance,
                Login    = userUI.Login,
                Password = userUI.Password
            };

            _WCF.ModifyUser(user);
        }
Beispiel #2
0
        public void ModifyUser(UserUI userUI)
        {
            User user = new User()
            {
                ID          = userUI.ID,
                Favourite   = userUI.Favourite.ToArray(),
                IsAdmin     = userUI.IsAdmin,
                Login       = userUI.Login,
                Name        = userUI.Name,
                Password    = userUI.Password,
                PhoneNumber = userUI.PhoneNumber
            };

            _WCF.ModifyUser(user);
        }