public List <IMappingProject> Get() { return(_dbContext.Set <DataAccess.Entities.KOS.MappingProject>() .Include(p => p.MappingProjectMunicipalityLinks).ThenInclude(mpm => mpm.Municipality) .Include(p => p.Office) .Include(p => p.Deliveries).ThenInclude(d => d.Type) .Include(p => p.ProjectActivities) .AsEnumerable() .Select(mp => Create(mp)) .Where(p => p.State != MappingProjectState.None) .ToList()); }
public List <IDataAgeDistribution> Get() { return(GetDataAgeDistributions(_dbContext.Set <TransactionData>())); }
public List <IDataQualityClassification> Get() { return(GetListOfSums(_dbContext.Set <DataQualityClassification>())); }