// GET: api/Results/5 public IHttpActionResult Get(int id) { var result = repository.GetResult(id); if (result == null) { return(NotFound()); } return(Json(result)); }
// GET: api/Results/5 public IHttpActionResult Get(int id) { var result = repository.GetResult(id); if (result == null) { return(NotFound()); } return(Json(result)); }