public LicenceStatusViewModelBuilder(ILicenceRepository licenceRepository, IStatusRepository statusRepository, IMapper mapper) { this.licenceRepository = licenceRepository; this.statusRepository = statusRepository; this.mapper = mapper; }
public LicenceApplicationViewModelBuilder(ILicenceRepository licenceRepository, IMapper mapper, IReferenceDataProvider rdp, IStatusRepository statusRepository, IConstantService constantService) { this.licenceRepository = licenceRepository; this.statusRepository = statusRepository; this.mapper = mapper; this.referenceDataProvider = rdp; this.constantService = constantService; }
public GamesController(IGameRepository gameRepo, ILicenceRepository licenceRepo, ITeamRepository teamRepo, IRefereeRepository refereeRepo, ICityRepository cityRepo) { this.gameRepository = gameRepo; this.licenceRepository = licenceRepo; this.teamRepository = teamRepo; this.refereeRepository = refereeRepo; this.cityRepository = cityRepo; }
public PublicRegisterPostDataHandler( IMapper mapper, IEntityFrameworkRepository repository, ILicenceRepository licenceRepository) { this.mapper = mapper; this.repository = repository; this.licenceRepository = licenceRepository; }
public LicenceLogic(ILoggingService Logging, ILicenceRepository repo) { _repo = repo; _logging = Logging; _logItem = new LogItem() { Layer = "BLL Licence Logic", NomApplication = "Arram ", Message = "Licence Logic" }; }
public void Setup() { var config = new AutoMapperConfig().Configure(); mapper = config.CreateMapper(); repository = Substitute.For <IEntityFrameworkRepository>(); licenceRepository = Substitute.For <ILicenceRepository>(); dateTimeProvider = Substitute.For <IDateTimeProvider>(); statusRepository = Substitute.For <IStatusRepository>(); }
public AdminStatusRecordsViewModelBuilder( IMapper mapper, IEntityFrameworkRepository repository, ILicenceRepository licenceRepository, IReferenceDataProvider referenceDataProvider) { _mapper = mapper; _repository = repository; _licenceRepository = licenceRepository; _referenceDataProvider = referenceDataProvider; }
public LicenceApplicationPostDataHandler( IMapper mapper, IEntityFrameworkRepository repository, ILicenceRepository licenceRepository, IStatusRepository statusRepository, IDateTimeProvider dateTimeProvider) { this.mapper = mapper; this.repository = repository; this.licenceRepository = licenceRepository; this.statusRepository = statusRepository; this.dateTimeProvider = dateTimeProvider; }
private void SetUpRepositories() { ContractorRepository = kernel.Get<IContractorRepository>(); DeviceRepository = kernel.Get<IDeviceRepository>(); FixedAssetRepository = kernel.Get<IFixedAssetRepository>(); KindRepository = kernel.Get<IKindRepository>(); LicenceRepository = kernel.Get<ILicenceRepository>(); PeripheralDeviceRepository = kernel.Get<IPeripheralDeviceRepository>(); PersonRepository = kernel.Get<IPersonRepository>(); SectionRepository = kernel.Get<ISectionRepository>(); SubgroupRepository = kernel.Get<ISubgroupRepository>(); MembershipRoleRepository = kernel.Get<IMembershipRoleRepository>(); MembershipUserRepository = kernel.Get<IMembershipUserRepository>(); }
public PublicRegisterViewModelBuilder( IMapper mapper, IEntityFrameworkRepository repository, ILicenceRepository licenceRepository, IReferenceDataProvider referenceDataProvider) { _mapper = mapper; _licenceRepository = licenceRepository; _referenceDataProvider = referenceDataProvider; _ukCountries = repository.GetAll <Country>().Select(x => new SelectListItem { Value = x.Name, Text = x.Name }).OrderBy(y => y.Text).ToList(); }
/// <summary> /// Initializes a new instance of the <see cref="LicenceService"/> class. /// </summary> /// <param name="repository">The repository<see cref="ILicenceRepository"/></param> public LicenceService(ILicenceRepository repository) { _repository = repository; }
public LicenceService(ILicenceRepository licenceRepository, IUnitOfWork unitOfWork) { this.licenceRepository = licenceRepository; this.unitOfWork = unitOfWork; }
public LicenceController(ILicenceRepository repo) { repository = repo; }
public LicencesController(ILicenceRepository licenceRepository) { _licenceRepository = licenceRepository; }
public AdminLicenceListViewModelBuilder(ILicenceRepository licenceRepository, IMapper mapper) { this.licenceRepository = licenceRepository; this.mapper = mapper; }
public LicenceService(ILicenceRepository labRepository, IUnitOfWork unitOfWork) { _licenceRepository = labRepository; _unitOfWork = unitOfWork; }
public AdminHomeViewModelBuilder(ILicenceRepository licenceRepository) { this.licenceRepository = licenceRepository; }