Exemplo n.º 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());
     }
 }
Exemplo n.º 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());
     }
 }
Exemplo n.º 3
0
 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());
     }
 }
Exemplo n.º 4
0
        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());
            }
        }
Exemplo n.º 5
0
 public static void Delete(int NumNomina, int Estatus)
 {
     Data.SoluglobChecador.Empleados dataHorarios = new Data.SoluglobChecador.Empleados();
     dataHorarios.Delete(NumNomina, Estatus);
 }