Beispiel #1
0
 public DataTable CalcularSalario()
 {
     try
     {
         return(DALe.CalcularSalario());
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         DALe = null;
     }
 }
Beispiel #2
0
 public int EditarEmpleado(Int64 Id, string Apellidos, string Nombres, double Horas, double Sueldo)
 {
     try
     {
         return(DALe.EditarEmpleado(Id, Apellidos, Nombres, Horas, Sueldo));
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         DALe = null;
     }
 }
Beispiel #3
0
 public int EliminarEmpleado(Int64 Id)
 {
     try
     {
         return(DALe.EliminarEmpleado(Id));
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         DALe = null;
     }
 }
Beispiel #4
0
 public DataTable MostrarEmpleados()
 {
     try
     {
         return(DALe.MostrarEmpleados());
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         DALe = null;
     }
 }