Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
            }
        }