Exemplo n.º 1
0
 public FlightScheduleService(ILegRepository legRepository, IFlightScheduleRepository flightScheduleRepository,
                              IFlightCostRepository flightCostRepository)
 {
     _legRepository            = legRepository;
     _flightScheduleRepository = flightScheduleRepository;
     _flightCostRepository     = flightCostRepository;
 }
Exemplo n.º 2
0
 public ScheduleManager(IUnitOfWork uow)
 {
     this.scheduleRepo    = uow.GetScheduleRepositry();
     this.FlightCostRepo  = uow.GetFlightCostRepository();
     this.FlightRepo      = uow.GetFlightRepository();
     this.CityRepo        = uow.GetCityRepository();
     this.RouteRepo       = uow.GetRouteRepository();
     this.TravelClassRepo = uow.GetTravelClassRepository();
 }
Exemplo n.º 3
0
 public FlightCostManager(IUnitOfWork uof)
 {
     repo = uof.GetFlightCostRepository();
 }