Example #1
0
 public RestaurantService(
     IRestaurantRepository restaurantRepository,
     IUploadsHandler uploadsHandler,
     IOptions <StorageOptions> options,
     IWebHostManager webHostManager,
     IMapper mapper
     )
     : base(restaurantRepository, mapper)
 {
     this.restaurantRepository = restaurantRepository;
     this.uploadsHandler       = uploadsHandler;
     this.webHostManager       = webHostManager;
     this.storageOptions       = options.Value;
 }