Beispiel #1
0
        public List <HouseAPI> GetAllHouses()
        {
            List <HouseAPI> list = new List <HouseAPI>();

            BusinessLayer.BusinessManager bm = new BusinessLayer.BusinessManager();

            foreach (House hou in bm.GetAllHouses())
            {
                list.Add(new HouseAPI(hou));
            }

            return(list);
        }