public ActionResult TestPutJsonData(string hostUrl, string u,
                                            string data, Dictionary <string, string> headerInfo)
        {
            //Todo js Test data
            //var jsonI ={"TransactionNumber":2919,"MasterId":"353","CatalogType":"1","CatalogId":"2","ConstraintType":"I","Status":"D","InDate":"2016-02-05T06:40:38.000Z","InUser":"******","LastEditDate":"2016-02-25T07:10:02.000Z","LastEditUser":"******"}
            //$.post('http://localhost:29128/base/PutJsonData',{data:angular.toJson(jsonI)})

            var d = JsonConvert.DeserializeObject <Dictionary <string, string> >(data);

            if (string.IsNullOrWhiteSpace(hostUrl))
            {
                hostUrl = "http://10.16.133.103/v1.0.50/misc/v1.0.0";
            }

            if (string.IsNullOrWhiteSpace(u))
            {
                u = "siteconstraint/setting/typebinding";
            }

            var s      = new DRAPIService(hostUrl);
            var result = s.ExecuteJasonRequest(u, HttpMethod.Put, d, headerInfo);

            return(Content(result.ResultMsg, ContentType.JSON.ToValue()));
        }
        public ActionResult GetProjectRelease()
        {
            var dr = new DRAPIService("http://10.16.133.102:828/");

            return(Content(dr.GetProjectRelease()));
        }
        public ActionResult GetPersonInfo()
        {
            var dr = new DRAPIService();

            return(Content(dr.GetPersonInfo(), ContentType.JSON.ToValue()));
        }