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; }
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; }
public LogInViewModel( IAuthorizationService authorizationService, INavigationService navigationService, IUserModelService userModelService, IPageDialogService pageDialogService) : base(navigationService) { Title = "Log in"; _authorizationService = authorizationService; _userModelService = userModelService; _pageDialogService = pageDialogService; }
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)); }
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)); }
public UserModelFacade(IUserModelService userModelService) { this.userModelService = userModelService; }
public UserShowController(IUserModelService userModelService) { this.userModelService = userModelService; }
public UserService(IUserModelService userModelService, IContextUserService contextUserService) { _userModelService = userModelService; _contextUserService = contextUserService; }
public void TestInit() { _mock = new Mock <IUserModelService>(); _service = _mock.Object; _controller = new UserController(_service); }
public UserController(IUserModelService userService) { _userService = userService; }
public HomeController(IUserModelService userModelService, ILogger <HomeController> logger) { _service = userModelService; _logger = logger; }
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; }
public UserController(ILogger <UserController> logger, IUserModelService userModelService) { this._logger = logger; this._service = userModelService; }