public AdminController(ITourInfoService tourInfoService, IUserService userService, IFriendService friendService, ITourService tourService) { _tourInfoService = tourInfoService; _userService = userService; _friendService = friendService; _tourService = tourService; }
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); }
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; }
public TourInfoController(ITourInfoService serv) { service = serv; }