// GET api/values/5 public async Task <IHttpActionResult> Get(Guid id) { var thing = await _repository.GetAsync(id); if (thing == null) { return(NotFound()); } return(Ok(thing)); }