public List<FarmConsumptionCurrentRecord> retrieveAllRealProd() { List<FarmConsumptionCurrentRecord> allRecords = new List<FarmConsumptionCurrentRecord>(); foreach (DAL.FarmCurrentConsumptionLive pl in _entities.FarmCurrentConsumptionLive) { FarmConsumptionCurrentRecord rec = new FarmConsumptionCurrentRecord(pl); allRecords.Add(rec); } return allRecords; }
public List <FarmConsumptionCurrentRecord> retrieveAllRealProd() { List <FarmConsumptionCurrentRecord> allRecords = new List <FarmConsumptionCurrentRecord>(); foreach (DAL.FarmCurrentConsumptionLive pl in _entities.FarmCurrentConsumptionLive) { FarmConsumptionCurrentRecord rec = new FarmConsumptionCurrentRecord(pl); allRecords.Add(rec); } return(allRecords); }