Exemplo n.º 1
0
        public IEnumerable <AbstractIndexInPeriodDTOWithActions> GetAllAbstractJobIndices(long periodId)
        {
            var abstractList = jobIndexRep.GetAll(new PeriodId(periodId));

            return(abstractList.Select(r => jobIndexWithActionsMapper.MapToModel(r)));
        }
Exemplo n.º 2
0
        public IEnumerable <AbstractJobIndexDTOWithActions> GetAllAbstractJobIndices()
        {
            var abstractList = jobIndexRep.GetAll();

            return(abstractList.Select(r => jobIndexWithActionsMapper.MapToModel(r)).ToList());
        }