Пример #1
0
        public void TestDeleteBuild()
        {
            BuildSetService   service   = new BuildSetService();
            BuildSetViewModel ViewModel = service.DeleteBuild("000001G005");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }
Пример #2
0
 public object Delete([FromBody] JObject obj)
 {
     try
     {
         string buildID = obj["buildID"].ToString();
         return(service.DeleteBuild(buildID));
     }
     catch (Exception e)
     {
         return(9999);
     }
 }