Example #1
0
        public void AddService(IQueryable <service> services)
        {
            // Reset Services
            Services.Clear();

            // Add each size
            foreach (var service in services)
            {
                _service s = new _service();
                s.id          = service.ID;
                s.description = service.description;
                Services.Add(s);
            }
        }
Example #2
0
        public void AddService(IQueryable<service> services)
        {
            // Reset Services
            Services.Clear();

            // Add each size
            foreach (var service in services)
            {
                _service s = new _service();
                s.id = service.ID;
                s.description = service.description;
                Services.Add(s);
            }
        }