private IEnumerable <Transport> GetAvailableTransports() { List <Transport> transports = new List <Transport>(TransportDAO.GetTransports()); return(transports.Select(t => t).Where(t => t.Parking != null)); }
private IEnumerable <Transport> GetTransports() { return(TransportDAO.GetTransports()); }