Esempio n. 1
0
        public List <AddPlantModel> GetListAddPlantModel()
        {
            List <AddPlantModel> listAddPlantModel = new List <AddPlantModel>();
            APIConnection        connector         = new APIConnection();

            listAddPlantModel = connector.GetData <List <AddPlantModel> >(APIConnection.Plants);
            return(listAddPlantModel);
        }
Esempio n. 2
0
        //List<AddLandModel> listAddLandModel;
        public List <LandModel> GetListLandModel(String userID)
        {
            List <LandModel> listLandModel = new List <LandModel>();
            APIConnection    connector     = new APIConnection();

            listLandModel = connector.GetData <List <LandModel> >(APIConnection.LandsByUserId, userID);
            return(listLandModel);
        }