---
This commit is contained in:
@@ -24,6 +24,10 @@ namespace ADSUtileriasService.Servicios
|
||||
List<ADSNetLibrary.SIGAPI.Models.RH.Response.ResponseGetPersonal> GETPersonal(int cveSubProyecto, int CveEmpresa = -1);
|
||||
[OperationContract]
|
||||
List<ADSNetLibrary.Helpers.Conexiones.ZkTeckoLib.PersonalChecador> GetChecadorEmpleado(int CveChecador, int CveEmpresa = -1);
|
||||
|
||||
[OperationContract]
|
||||
List<PersonalChecadorIDResponse> PersonalChecadorID(int CveChecador);
|
||||
|
||||
[OperationContract]
|
||||
bool SetPersonalChecador(List<ADSNetLibrary.SIGAPI.Models.RH.Request.RequestPersonalChecadorUp> empleados, int CveEmpresa = -1);
|
||||
[OperationContract]
|
||||
@@ -45,6 +49,33 @@ namespace ADSUtileriasService.Servicios
|
||||
}
|
||||
return retorno.Result;
|
||||
}
|
||||
|
||||
public bool AddUpPersonalChecadorVinculo(RequestPersonalChecadorVinculoAddUp request)
|
||||
{
|
||||
Conexion.SIG.RHSIG rhsig = new Conexion.SIG.RHSIG();
|
||||
var checks = rhsig.AddUpPersonalChecadorVinculo(request);
|
||||
if (checks != null)
|
||||
{
|
||||
return checks.Result;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public List<PersonalChecadorIDResponse> PersonalChecadorID(int CveChecador)
|
||||
{
|
||||
Conexion.SIG.RHSIG rhsig = new Conexion.SIG.RHSIG();
|
||||
var checks = rhsig.PersonalChecadorID(CveChecador);
|
||||
if (checks != null)
|
||||
{
|
||||
return checks.Result;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public List<ADSNetLibrary.SIGAPI.Models.RH.Response.ResponseGetPersonal> GETPersonal(int cveSubProyecto, int CveEmpresa = -1)
|
||||
{
|
||||
ResponseModel<List<ADSNetLibrary.SIGAPI.Models.RH.Response.ResponseGetPersonal>> retorno = new ResponseModel<List<ADSNetLibrary.SIGAPI.Models.RH.Response.ResponseGetPersonal>>();
|
||||
|
||||
Reference in New Issue
Block a user