Exemple #1
0
        // GET: api/AccessPoint/5
        public AccessPoint Get(string id)
        {
            AccessPoint            accessPoints = new AccessPoint();
            AccessPointPersistence ap           = new AccessPointPersistence();

            accessPoints = ap.GetAccessPointsByName(id);

            return(accessPoints);
        }
Exemple #2
0
        // GET: api/AccessPoint
        public List <AccessPoint> Get()
        {
            List <AccessPoint>     accessPoints = new List <AccessPoint>();
            AccessPointPersistence ap           = new AccessPointPersistence();

            accessPoints = ap.GetAllAccessPoints();

            return(accessPoints);
        }