public AuthorizationService(
     ISettingsManager settingManager,
     IUserModelService userModelService)
 {
     _settingsManager  = settingManager;
     _userModelService = userModelService;
 }
 public HomeController(IUserService userService, IProductService productService, IUserModelService userModelService, IGlobalCart globalCart)
 {
     _userService      = userService;
     _productService   = productService;
     _userModelService = userModelService;
     _globalCart       = globalCart;
     _globalCart.Cart  = _productService.GetProducts();
 }
 public AccountController(IUserModelService userService,
                          IFormsAuthentication formsAuthService,
                          ILoginLogService logService)
 {
     this._userService      = userService;
     this._logService       = logService;
     this._formsAuthService = formsAuthService;
 }
Exemple #4
0
        public void ClientControllerTestStart()
        {
            IUnityContainer container = TestBootstrapper.Initialise();

            this.ClientProfileVMService = container.Resolve <IClientProfileVMServices>();
            this.MembershipService      = container.Resolve <IMembership>();
            this.UserModelService       = container.Resolve <IUserModelService>();
            controller = new ClientController(this.ClientProfileVMService, this.MembershipService, this.UserModelService);
        }
 public RegisterAndPasswordViewModel(
     INavigationService navigationService,
     IUserModelService userModelServices,
     IPageDialogService pageDialogService) :
     base(navigationService)
 {
     Title = "Create an account";
     _userModelServices = userModelServices;
     _pageDialogService = pageDialogService;
 }
        public RegisterViewModel(
            INavigationService navigationService,
            IUserModelService userRepository,
            IPageDialogService pageDialogService) :
            base(navigationService)
        {
            Title = "Create an account";

            _userRepository    = userRepository;
            _pageDialogService = pageDialogService;
        }
Exemple #7
0
        public LogInViewModel(
            IAuthorizationService authorizationService,
            INavigationService navigationService,
            IUserModelService userModelService,
            IPageDialogService pageDialogService) :
            base(navigationService)
        {
            Title = "Log in";

            _authorizationService = authorizationService;
            _userModelService     = userModelService;
            _pageDialogService    = pageDialogService;
        }
Exemple #8
0
 public ProfileManager(
     IAvatarRepository avatarRepository,
     IFileManager fileManager,
     IUserModelService userModelService,
     IErrorHelperService errorHelperService,
     IMedioClinicUserManager <MedioClinicUser, int> userManager,
     IMedioClinicUserStore userStore,
     IBusinessDependencies dependencies)
     : base(userManager, dependencies)
 {
     AvatarRepository   = avatarRepository ?? throw new ArgumentNullException(nameof(avatarRepository));
     FileManager        = fileManager ?? throw new ArgumentNullException(nameof(fileManager));
     UserModelService   = userModelService ?? throw new ArgumentNullException(nameof(userModelService));
     ErrorHelperService = errorHelperService ?? throw new ArgumentNullException(nameof(errorHelperService));
     UserStore          = userStore ?? throw new ArgumentNullException(nameof(userStore));
 }
Exemple #9
0
 public ProfileManager(
     ILogger <ProfileManager> logger,
     IOptionsMonitor <XperienceOptions> optionsMonitor,
     IFileService fileService,
     IUserModelService userModelService,
     IAvatarService avatarService,
     ISiteService siteService,
     IMedioClinicUserManager <MedioClinicUser> userManager
     )
     : base(logger, userManager)
 {
     _optionsMonitor   = optionsMonitor ?? throw new ArgumentNullException(nameof(optionsMonitor));
     _fileService      = fileService ?? throw new ArgumentNullException(nameof(fileService));
     _userModelService = userModelService ?? throw new ArgumentNullException(nameof(userModelService));
     _avatarService    = avatarService ?? throw new ArgumentNullException(nameof(avatarService));
     _siteService      = siteService ?? throw new ArgumentNullException(nameof(siteService));
 }
Exemple #10
0
 public UserModelFacade(IUserModelService userModelService)
 {
     this.userModelService = userModelService;
 }
 public UserShowController(IUserModelService userModelService)
 {
     this.userModelService = userModelService;
 }
Exemple #12
0
 public UserService(IUserModelService userModelService, IContextUserService contextUserService)
 {
     _userModelService   = userModelService;
     _contextUserService = contextUserService;
 }
Exemple #13
0
 public void TestInit()
 {
     _mock       = new Mock <IUserModelService>();
     _service    = _mock.Object;
     _controller = new UserController(_service);
 }
Exemple #14
0
 public UserController(IUserModelService userService)
 {
     _userService = userService;
 }
 public HomeController(IUserModelService userModelService, ILogger <HomeController> logger)
 {
     _service = userModelService;
     _logger  = logger;
 }
Exemple #16
0
 public ClientController(IClientProfileVMServices cs, IMembership ms, IUserModelService userModelService)
 {
     this.ClientProfileVMService = cs;
     this.MembershipService      = ms;
     this.UserModelService       = userModelService;
 }
 public OpenIdController(IFormsAuthentication formsAuthentication, IUserModelService userService)
 {
     this._formsAuth   = formsAuthentication;
     this._userService = userService;
 }
Exemple #18
0
 public UserController(ILogger <UserController> logger, IUserModelService userModelService)
 {
     this._logger  = logger;
     this._service = userModelService;
 }