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 Update(Tablas_BD tablas)
 {
     try
     {
         var procedimiento = new DataLayer();
         return(procedimiento.Update(tablas));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 3
0
 public static string Update(Tablas_BD tablas)
 {
     try
     {
         var procedimiento = new DataLayer();
         return procedimiento.Update(tablas);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 4
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. 5
0
 public static Paginado SelectAll(int skip, int take)
 {
     try
     {
         //return Datos.clsTablasBD.SelectAll();
         var procedimiento = new DataLayer();
         return(procedimiento.SelectAll(skip, take));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 6
0
 public static Paginado SelectAll(int skip, int take)
 {
     try
     {
         //return Datos.clsTablasBD.SelectAll();
         var procedimiento = new DataLayer();
         return procedimiento.SelectAll(skip, take);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }