public UserService(IUserRepository userRepository, IWorkshopRepository workshopRepository, ITeamRepository teamRepository, ICryptographerService cryptographerSerivce) { _userRepository = userRepository; _cryptographerSerivce = cryptographerSerivce; _teamRepository = teamRepository; _workshopRepository = workshopRepository; }
public HomeController(IUserService userService, IAuthenticationService authenticationService, IDocumentService documentService, ITeamRepository teamRepository, IWorkshopRepository workshopRepository, IDocumentMapper documentMapper) : base(authenticationService) { _userService = userService; _documentMapper = documentMapper; _workshopRepository = workshopRepository; _teamRepository = teamRepository; _documentService = documentService; _authenticationService = authenticationService; }
public UserViewService(IUserRepository userRepository, IWorkshopRepository workshopRepository, ITeamRepository teamRepository, IUserValidator userValidator, IUserMapper userMapper, ICryptographerService cryptoService, IUserService userService) { _userRepository = userRepository; _userService = userService; _cryptoService = cryptoService; _userMapper = userMapper; _userValidator = userValidator; _workshopRepository = workshopRepository; _teamRepository = teamRepository; }
private void SetUpDependencies() { _userRepository = _administrationMockRepository.GetUserRepository(); _workshopRepository = _administrationMockRepository.GetWorkshopRepository(); _teamRepository = _administrationMockRepository.GetTeamRepository(); _cryptographerService = _administrationMockRepository.GetCryptographerService(); _userMapper = _administrationMockRepository.GetUserMapper(); _userValidator = _administrationMockRepository.GetUserValidator(true); _workshopMapper = _administrationMockRepository.GetWokshopMapper(); _teamMapper = _administrationMockRepository.GetTeamMapper(); _teamValidator = _administrationMockRepository.GetTeamValidator(true); _workshopValidator = _administrationMockRepository.GetWorkshopValidator(true); }
public DeviceAppService(IDeviceRepository deviceRepository, IRepository <DeviceType> deviceTypeRepository, IGatewayRepository gatewayRepository, IWorkshopRepository workshopRepository, IFactoryRepository factoryRepository, ICityRepository cityRepository, IDeviceManager deviceManager, IFieldRepository fieldRepository ) { _deviceRepository = deviceRepository; _deviceTypeRepository = deviceTypeRepository; _gatewayRepository = gatewayRepository; _workshopRepository = workshopRepository; _factoryRepository = factoryRepository; _cityRepository = cityRepository; _deviceManager = deviceManager; _fieldRepository = fieldRepository; }
public WorkshopService(IWorkshopRepository workshopRepository) { this.workshopRepository = workshopRepository; }
/// <summary> /// Ctor. /// </summary> /// <param name="repository"><see cref="IWorkshopRepository"/>.</param> /// <param name="userInfo"><see cref="IActiveUserInfoService"/>.</param> public WorkshopService(IWorkshopRepository repository, IActiveUserInfoService userInfo) { _repository = Check.NotNull(repository, nameof(repository)); _userInfo = Check.NotNull(userInfo, nameof(userInfo)); }
public WorkshopService(IWorkshopRepository repo) { this.repo = repo; }
public ProductsController(IWorkshopRepository repo) { _workshopRepository = repo; }
public WorkshopsController(IMembershipRepository membershipRepository, IWorkshopRepository workshopRepository) { _membershipRepository = membershipRepository; _workshopRepository = workshopRepository; }
public UserMapper(IWorkshopRepository workshopRepository, ICryptographerService cryptoService) { _workshopRepository = workshopRepository; _cryptoService = cryptoService; }
public SuppliersController(IWorkshopRepository repository) { _workshopRepository = repository; }
public WorkshopManager(IWorkshopRepository workshopRepositories) { _workshopRepositories = workshopRepositories; }
public HomeController(IWorkshopRepository workshopRepository) { _workshopRepository = workshopRepository; }
public HomeController() { _workshopRepository = new WorkshopRepository(); }
public WorkshopValidator(IWorkshopRepository workshopRepository) { this._workshopRepository = workshopRepository; }
public MaterialsController(IWorkshopRepository repo) { _workshopRepository = repo; }