Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }