Beispiel #1
0
        // GET: api/Zone
        public IHttpActionResult GetAllZones()
        {
            IEnumerable <object> Zonees = ZoneService.GetAll();

            return(Ok(Zonees));
        }
Beispiel #2
0
 public IHttpActionResult GetAll()
 {
     return(Ok(_zoneService.GetAll()));
 }
Beispiel #3
0
 private void UpdateGrid()
 {
     this.grdZone.DataSource = _zoneService.GetAll().ToList();
 }
Beispiel #4
0
 private void updateComboBoxZones()
 {
     cbZone.DataSource = _zoneService.GetAll().GroupBy(test => test.Name).Select(grp => grp.First().Name).ToList();
 }