public InvoiceService(ISessionsRepository sessionsRepository, IParkingFacilityRepository parkingFacilityRepository, ICustomerRepository customerRepository)
 {
     _sessionsRepository        = sessionsRepository;
     _parkingFacilityRepository = parkingFacilityRepository;
     _customerRepository        = customerRepository;
 }
Example #2
0
 public InvoiceServiceTest()
 {
     _sessionsRepository        = new SessionsRepositoryFake(FakeData.GetSeedSessios());
     _parkingFacilityRepository = new ParkingFacilityRepositoryFake(FakeData.GetSeedServiceProfiles());
     _customerRepository        = new CustomerRepositoryFake(FakeData.GetSeedCustomers());
 }