public ShoppingListCollectionsController(IShopListingRepository shopListingRepository, IMapper mapper) { _shopListingRepository = shopListingRepository ?? throw new ArgumentNullException(nameof(shopListingRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }