Beispiel #1
0
 public static Entities.SoluglobChecador.Empleados Update(Entities.SoluglobChecador.Empleados objEmpleados)
 {
     Entities.SoluglobChecador.Empleados empleados = new Entities.SoluglobChecador.Empleados();
     try
     {
         Data.SoluglobChecador.Empleados dataEmpleados = new Data.SoluglobChecador.Empleados();
         empleados = dataEmpleados.Update(objEmpleados);
         return(empleados);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message.ToString());
     }
 }
Beispiel #2
0
 public static Entities.SoluglobChecador.Empleados GetOne(int NumNomina)
 {
     Entities.SoluglobChecador.Empleados empleados = new Entities.SoluglobChecador.Empleados();
     try
     {
         Data.SoluglobChecador.Empleados dataEmpleados = new Data.SoluglobChecador.Empleados();
         empleados = dataEmpleados.GetOne(NumNomina);
         return(empleados);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message.ToString());
     }
 }