Пример #1
0
        public IHttpActionResult GetCluster()
        {
            var repos = new TDAssetRespository();


            /* switch (SectionType)
             * {
             *   case "1":sectionT = SetionType.Region;break;
             *   case "2": sectionT = SetionType.Provice; break;
             *   case "3": sectionT = SetionType.Amphur; break;
             * }*/



            var results = repos.GetCluster();

            return(Json(results));
        }