예제 #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);
        }