예제 #1
0
        public void update(int index, string bus, string capac)
        {
            addy a = new addy();

            a          = db.ElementAt(index);
            a.Bus      = bus;
            a.Capacity = capac;
        }
예제 #2
0
        public void isaf(string service, string route, string routee, string buses, string capacity)
        {
            addy fp = new addy();

            fp.Service  = service;
            fp.Route    = route;
            fp.Routee   = routee;
            fp.Bus      = buses;
            fp.Capacity = capacity;

            addy2.db.Add(fp);
            //throw new NotImplementedException();
        }