public Garage <T> CreateGarage(string name, string address, int capacity) { Garage <T> garage = new Garage <T>(name, address, capacity); return(garage); }
public int GetCapacity(Garage <T> garage) { return(garage.Capacity); }
public int GetCount(Garage <T> garage) { return(garage.Count); }
public string GetAddress(Garage <T> garage) { return(garage.Address); }
public void SetCapacity(Garage <T> garage, int capacity) { garage.Capacity = capacity; }
public string TypeVehicle(Garage <Vehicle> gar) { return(gar.ListType()); }
public void SetAddress(Garage <T> garage, string address) { garage.Address = address; }
public string GetName(Garage <T> garage) { return(garage.Name); }
public void ShowOccupied(Garage <Vehicle> gar) { PagingList(gar.ListPos(true), 20); }
public void ShowEmpty(Garage <Vehicle> gar) { PagingList(gar.ListPos(false), 20); }
public void SetName(Garage <T> garage, string name) { garage.Name = name; }
public string ShowList(Garage <Vehicle> gar) { return(gar.List()); }