public async Task <IHttpActionResult> GetSingle() { var repo = new RandomUserRepository(); return(Ok(await repo.GetSingleDummyUser())); }
public async Task <IHttpActionResult> GetSingle() { return(Ok(await _pubSubCache.GetAsync(Request.RequestUri.PathAndQuery, () => _repo.GetSingleDummyUser()))); }