示例#1
0
 // DELETE: api/Contract/5
 public void Delete(int id)
 {
     try
     {
         ContractBusiness business = new ContractBusiness();
         business.Delete(id);
     }
     catch (System.Exception)
     {
         throw;
     }
 }
 public Result Delete([FromForm] int id)
 {
     return(_business.Delete(id));
 }