public RestaurantsController(IRestaurantCrawler restaurantCrawler, IRestaurantService restaurantService, IMapper mapper)
 {
     _restaurantCrawler = restaurantCrawler ?? throw new ArgumentNullException(nameof(restaurantCrawler));
     _restaurantService = restaurantService ?? throw new ArgumentNullException(nameof(restaurantService));
     _mapper            = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public ValuesController(IRestaurantCrawler restaurantCrawler)
 {
     _restaurantCrawler = restaurantCrawler ?? throw new ArgumentNullException(nameof(restaurantCrawler));
 }