GetSectors() public method

public GetSectors ( byte operatorCode = null ) : IEnumerable
operatorCode byte
return IEnumerable
コード例 #1
0
 public IEnumerable<PPMSector> Get(byte id)
 {
     PPMDataRepository repo = new PPMDataRepository();
     return repo.GetSectors(id);
 }
コード例 #2
0
 public IEnumerable<PPMSector> Get()
 {
     PPMDataRepository repo = new PPMDataRepository();
     return repo.GetSectors()
         .Where(s => !(s.OperatorCode != null && s.SectorCode != null));
 }