Example #1
0
        // GET: Building/countAllClassAvailable/1
        public string countAllClassAvailable(int id)
        {
            var building = new BuildingclassBIL().countAllClassAvailable(id);

            return(new JavaScriptSerializer().Serialize(building));
        }
Example #2
0
        // GET: Building/BuildingClass/1
        public string BuildingClass(int id)
        {
            var building = new BuildingclassBIL().getByBuildingId(id);

            return(new JavaScriptSerializer().Serialize(building));
        }