コード例 #1
0
 public static string Delete(int id)
 {
     try
     {
         var procedimiento = new DataLayer();
         return procedimiento.Delete(id);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
コード例 #2
0
 public static string Delete(int id)
 {
     try
     {
         var procedimiento = new DataLayer();
         return(procedimiento.Delete(id));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }