// GET: api/Zone public IHttpActionResult GetAllZones() { IEnumerable <object> Zonees = ZoneService.GetAll(); return(Ok(Zonees)); }
public IHttpActionResult GetAll() { return(Ok(_zoneService.GetAll())); }
private void UpdateGrid() { this.grdZone.DataSource = _zoneService.GetAll().ToList(); }
private void updateComboBoxZones() { cbZone.DataSource = _zoneService.GetAll().GroupBy(test => test.Name).Select(grp => grp.First().Name).ToList(); }