コード例 #1
0
        public HttpResponseMessage GetFloors()
        {
            GetFloorAndRooms getFloorAndRooms = new GetFloorAndRooms();
            IList <Floor>    floorList        = getFloorAndRooms.GetFloorList(System.Configuration.ConfigurationManager.AppSettings["Connection"]);

            return(Request.CreateResponse(HttpStatusCode.OK, floorList));
        }