public IHttpActionResult Get(long id) { Goal goal = Logic.Get(id); if (goal == null) { return(NotFound()); } return(Ok(goal)); }