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); }
public static List <CollectionPoint> GetAllCollectionPoints() { return(CollectionPointDAO.GetAllCollectionPoints()); }