コード例 #1
0
 public CarExtrasService(
     IRepository <CarExtra> carExtrasRepository,
     IExtrasService extrasService)
 {
     this.carExtrasRepository = carExtrasRepository;
     this.extrasService       = extrasService;
 }
コード例 #2
0
 public ExtrasController(
     IExtrasService extrasService,
     ILogger <ExtrasController> logger)
 {
     this.extrasService = extrasService;
     this.logger        = logger;
 }
コード例 #3
0
 public ShopingCartService(
     IDeletableEntityRepository <MenuProduct> productRepository,
     IDeletableEntityRepository <ProductSize> sizeRepository,
     IExtrasService extrasService)
 {
     this.productRepository = productRepository;
     this.sizeRepository    = sizeRepository;
     this.extrasService     = extrasService;
 }
コード例 #4
0
 public PlacesController(
     IPlacesService placesService,
     ICategoriesService categoriesService,
     ICitiesService citiesService,
     IExtrasService extrasService,
     UserManager <ApplicationUser> userManager)
 {
     this.placesService     = placesService;
     this.categoriesService = categoriesService;
     this.citiesService     = citiesService;
     this.extrasService     = extrasService;
     this.userManager       = userManager;
 }
コード例 #5
0
 public PlacesService(
     IDeletableEntityRepository <Place> placesRepository,
     IDeletableEntityRepository <Reservation> reservationsRepository,
     IDeletableEntityRepository <Image> imagesRepository,
     IDeletableEntityRepository <PlaceExtra> placeExtrasRepository,
     IDeletableEntityRepository <Review> reviewsRepository,
     IExtrasService extrasService,
     IImagesService imagesService)
 {
     this.placesRepository       = placesRepository;
     this.reservationsRepository = reservationsRepository;
     this.imagesRepository       = imagesRepository;
     this.placeExtrasRepository  = placeExtrasRepository;
     this.reviewsRepository      = reviewsRepository;
     this.extrasService          = extrasService;
     this.imagesService          = imagesService;
 }