public void Create(RegistrationDto userModel) { userService.CreateUser(userModel.UserName); }
private RegistrationDto RegisterViewModelMapToUserDto(RegisterViewModel registerViewModel) { var userDto = new RegistrationDto { UserName=registerViewModel.Username, Password=registerViewModel.Password, ConfirmPassword=registerViewModel.ConfirmPassword }; return userDto; }