public AllocationService(IAllocationRepository allocationRepository, IParkinglotService parkinglotService, IPersonService personService) { _allocationRepository = allocationRepository; _parkinglotService = parkinglotService; _personService = personService; }
public AllocationService( IAllocationRepository allocationRepository, IMapper mapper) : base(mapper) { _allocationRepository = allocationRepository; }
public AllocationServicesTest() { _parkinglotService = Substitute.For <IParkinglotService>(); _personService = Substitute.For <IPersonService>(); _allocationRepository = Substitute.For <IAllocationRepository>(); var name = "test"; var mobilePhone = "000"; var phone = "001"; var street = "street"; var streetnr = "01"; var postalcode = "1234"; var city = "kjhg"; var licenseplate = "123"; var country = "bel"; var mail = "*****@*****.**"; _testPerson = new Person ( 1, name, mobilePhone, phone, new Address { CityName = city, PostalCode = postalcode, StreetName = street, StreetNumber = streetnr }, mail, new LicensePlate(licenseplate, country) ); }
public Handler (IBudgetCategoryRepository budgetCategoryRepository, IAllocationRepository allocationRepository, IMapper mapper, IAuthenticationProvider authenticationProvider) : base(budgetCategoryRepository, allocationRepository, mapper, authenticationProvider) { }
public AllocateCollaborator(ICollaboratorRepository collaboratorRepository, IWorkRepository workRepository, ICreateCollaborator createCollaborator, IAllocationRepository allocationRepository) { this.collaboratorRepository = collaboratorRepository; this.workRepository = workRepository; this.allocationRepository = allocationRepository; this.createCollaborator = createCollaborator; }
public WeeklySummary( IAllocationRepository allocationRepository, IDateCalculator dateCalculator, IEmailRepository emailRepository, IRequestRepository requestRepository) { this.allocationRepository = allocationRepository; this.dateCalculator = dateCalculator; this.emailRepository = emailRepository; this.requestRepository = requestRepository; }
public BaseAllocationHandler (IBudgetCategoryRepository budgetCategoryRepository, IAllocationRepository allocationRepository, IMapper mapper, IAuthenticationProvider authenticationProvider) { BudgetCategoryRepository = budgetCategoryRepository; AllocationRepository = allocationRepository; Mapper = mapper; AuthenticationProvider = authenticationProvider; }
public SummaryModel( IDateCalculator dateCalculator, IRequestRepository requestRepository, IAllocationRepository allocationRepository, UserManager <ApplicationUser> userManager) { this.dateCalculator = dateCalculator; this.requestRepository = requestRepository; this.allocationRepository = allocationRepository; this.userManager = userManager; }
public AllocationCreator( IRequestRepository requestRepository, IReservationRepository reservationRepository, IAllocationRepository allocationRepository, ISystemParameterListRepository systemParameterListRepository, IDateCalculator dateCalculator, ISingleDayAllocationCreator singleDayAllocationCreator) { this.requestRepository = requestRepository; this.reservationRepository = reservationRepository; this.allocationRepository = allocationRepository; this.systemParameterListRepository = systemParameterListRepository; this.dateCalculator = dateCalculator; this.singleDayAllocationCreator = singleDayAllocationCreator; }
public AllocationService(IAllocationRepository repository) { _repository = repository; }
public void Setup() { BaseSQLTest.SeedDatabase(); _repository = new AllocationRepository(); _service = new AllocationService(_repository); }
public Handler (IAllocationRepository allocationRepository, IMapper mapper, IAuthenticationProvider authenticationProvider) : base(null, allocationRepository, mapper, authenticationProvider) { }