示例#1
0
        public List <IStation> GetAllStationsByID(string id)
        {
            IBranch branch = GetBranchByID(id);

            return(branch != null?branch.GetAllStations() : null);
        }
示例#2
0
        public List <IStation> GetAllStationsByName(string branchName)
        {
            IBranch branch = GetBranchByName(branchName);

            return(branch != null?branch.GetAllStations() : null);
        }