public AdminController(ITourInfoService tourInfoService, IUserService userService, IFriendService friendService,
                        ITourService tourService)
 {
     _tourInfoService = tourInfoService;
     _userService     = userService;
     _friendService   = friendService;
     _tourService     = tourService;
 }
Example #2
0
 public TourServiceController(ITourInfoService tourInfoService, IUserService userService,
                              IFriendService friendService, ITourService tourService, IServiceService serviceService)
 {
     _tourInfoService = tourInfoService;
     _userService     = userService;
     _friendService   = friendService;
     _tourService     = tourService;
     _serviceService  = serviceService;
 }
 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);
 }
Example #4
0
 public UsersController(ITourInfoService tourInfoService, IUserService userService,
                        IFriendService friendService, ITourService tourService, IServiceService serviceService,
                        IPostService postService)
 {
     _tourInfoService = tourInfoService;
     _userService     = userService;
     _friendService   = friendService;
     _tourService     = tourService;
     _serviceService  = serviceService;
     _postService     = postService;
 }
Example #5
0
 public TourInfoController(ITourInfoService serv)
 {
     service = serv;
 }