// GET api/TelegraphStation public IEnumerable <TelegraphStation> Get() { this.OnBeforeGet(); var results = this.SDM.GetAllTelegraphStations <TelegraphStation>(); TelegraphStation.CheckExpand(this.SDM, results, HttpContext.Current.Request["expand"]); this.OnAfterGet(results); return(results); }