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

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