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()); } }
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()); } }