Пример #1
0
        public async Task AddNewUserAsync(UserVM user)
        {

            user = new UserVM();
            await base.UserService.CreateNewUserAsync(user.firstName, user.lastName, user.Password, user.RegistrationDate, user.email);
        }
Пример #2
0
        public void AddNewUser(UserVM user)
        {
            user = new UserVM();
            base.UserService.CreateNewUser(user.firstName,user.lastName, user.Password, user.RegistrationDate, user.email);

        }