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()); } }
public static Entities.QProcess.Empleados.AltaSoluglob GetOneSG(int IdEntrevistaCandidato) { Entities.QProcess.Empleados.AltaSoluglob EmpleadoQP = new Entities.QProcess.Empleados.AltaSoluglob(); try { Data.SoluglobChecador.Empleados dataEmpleados = new Data.SoluglobChecador.Empleados(); EmpleadoQP = dataEmpleados.GetOneSG(IdEntrevistaCandidato); Insert(EmpleadoQP); return(EmpleadoQP); } catch (Exception ex) { throw new Exception(ex.Message.ToString()); } }
public static List <Entities.SoluglobChecador.Empleados> GetAll() { List <Entities.SoluglobChecador.Empleados> empleadosCollection = new List <Entities.SoluglobChecador.Empleados>(); try { Data.SoluglobChecador.Empleados dataEmpleados = new Data.SoluglobChecador.Empleados(); empleadosCollection = dataEmpleados.GetAll(); return(empleadosCollection); } catch (Exception ex) { throw new Exception(ex.Message.ToString()); } }
public static void Delete(int NumNomina, int Estatus) { Data.SoluglobChecador.Empleados dataHorarios = new Data.SoluglobChecador.Empleados(); dataHorarios.Delete(NumNomina, Estatus); }