public void Post([FromBody] string date) { IEnumerable <Product> products = _scraper.Crawl().Result; _productRepository.Add(products); }
public void Post([FromBody] string date) { IEnumerable <Product> products = _scraper.Crawl().Result; _productRepository.Add(products); }