Esempio n. 1
0
 public static async Task <int?> GetWorkerId(this IEntityMapService entityMapService, int localEmployeeId, int unitId)
 {
     return(await entityMapService.GetExternalId(
                EntityType.Employee,
                IdentifierEntity.Worker,
                IdentifierProperty.Id,
                localEmployeeId,
                unitId));
 }
Esempio n. 2
0
 public static async Task <int?> GetWorkTypeId(this IEntityMapService entityMapService, int localAbsenceCode, int unitId)
 {
     return(await entityMapService.GetExternalId(
                EntityType.AbsenceType,
                IdentifierEntity.WorkType,
                IdentifierProperty.Id,
                localAbsenceCode,
                unitId));
 }