public async Task<IHttpActionResult> GetTopTenSalesPeople() { var repository = new SalesPersonRepository(); var results = await repository.GetTopTenSalesPeopleAsync(); if (results == null) return NotFound(); return Ok(results); }
public CachedSalesPersonRepository(SalesPersonRepository innerRepository) { _innerRepository = innerRepository; }
public CachedSalesPersonRepository(SalesPersonRepository innerRepository) { _innerRepository = innerRepository; }