public GetSectors ( byte operatorCode = null ) : IEnumerable |
||
operatorCode | byte | |
return | IEnumerable |
public IEnumerable<PPMSector> Get(byte id) { PPMDataRepository repo = new PPMDataRepository(); return repo.GetSectors(id); }
public IEnumerable<PPMSector> Get() { PPMDataRepository repo = new PPMDataRepository(); return repo.GetSectors() .Where(s => !(s.OperatorCode != null && s.SectorCode != null)); }