public async Task<IHttpActionResult> GetTopTenSalesOrders()
        {
            var repository = new SalesOrderRepository();
            var results = await repository.GetTopTenSalesOrdersAsync();

            if (results == null) return NotFound();
            return Ok(results);
        }
 public CachedSalesOrderRepository(SalesOrderRepository innerRepository)
 {
     _innerRepository = innerRepository;
 }
 public CachedSalesOrderRepository(SalesOrderRepository innerRepository)
 {
     _innerRepository = innerRepository;
 }