public IHttpActionResult Get(long id) { Activity activity = AL.Get(id); if (activity == null) { return(NotFound()); } return(Ok(activity)); }