示例#1
0
        public Dictionary <string, List <CollectionPoint> > GetAllCollectionPoints()
        {
            List <CollectionPoint> collectionPoints             = CollectionPointDAO.GetAllCollectionPoints();
            Dictionary <string, List <CollectionPoint> > cpDict = new Dictionary <string, List <CollectionPoint> >
            {
                { "collectionPoints", collectionPoints }
            };

            return(cpDict);
        }
示例#2
0
 public static List <CollectionPoint> GetAllCollectionPoints()
 {
     return(CollectionPointDAO.GetAllCollectionPoints());
 }