Ejemplo n.º 1
0
 public static List <Ley> ListarLeyes()
 {
     try
     {
         return(LeyDAL.ListadoLeyes());
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public static void EliminarLey(Ley ley)
 {
     try
     {
         LeyDAL.EliminarLey(ley);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
 public static Ley BuscarLey(int id)
 {
     try
     {
         return(LeyDAL.BuscarLey(id));
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 4
0
 public static void Modificar(Ley ley)
 {
     try
     {
         LeyDAL.Modificar(ley);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 5
0
 public static ResultadoPorSP AgregarLey(Ley ley)
 {
     try
     {
         return(LeyDAL.AgregarLey(ley));
     }
     catch (Exception)
     {
         throw;
     }
 }