public void update(int index, string bus, string capac) { addy a = new addy(); a = db.ElementAt(index); a.Bus = bus; a.Capacity = capac; }
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(); }