Ejemplo n.º 1
0
        public string GetFloorListBy(long buildId, string tip)
        {
            var list = BuildFloorBll.GetFloorList(buildId);

            if (list == null)
            {
                list = new List <BuildFloor>();
            }
            list.Insert(0, new BuildFloor()
            {
                Id = 0, Name = tip
            });
            return(JsonConvert.SerializeObject(list));
        }
Ejemplo n.º 2
0
        public string GetFloorList(long buildId)
        {
            var list = BuildFloorBll.GetFloorList(buildId);

            return(JsonConvert.SerializeObject(list));
        }