public TourAndDetailsService(IUnitOfWork data)
 {
     Database = data;
     tour     = new TourService(data);
     type     = new TourTypeService(data);
     info     = new TourInfoService(data);
     list     = new ListOfCountryService(data);
     country  = new CountryService(data);
     region   = new RegionService(data);
 }
Ejemplo n.º 2
0
 public TourController(ITourService tourService, ICountryService countryService,
                       ICityService cityService, IHotelService hotelService,
                       IFoodTypeService foodTypeService, ITransportTypeService transportTypeService,
                       ITourTypeService tourTypeService, ICityFromService cityFromService,
                       IPlacementTypeService placementTypeService, IMapper mapper)
 {
     _tourService          = tourService;
     _countryService       = countryService;
     _cityService          = cityService;
     _hotelService         = hotelService;
     _foodTypeService      = foodTypeService;
     _transportTypeService = transportTypeService;
     _tourTypeService      = tourTypeService;
     _cityFromService      = cityFromService;
     _placementTypeService = placementTypeService;
     _mapper = mapper;
 }
 public TourTypeController(ITourTypeService tourTypeService)
 {
     _tourTypeService = tourTypeService;
 }
Ejemplo n.º 4
0
 public TourTypeController(ITourTypeService serv)
 {
     service = serv;
 }