Esempio n. 1
0
        public IList <IResultValues> GetContractPartySummaryList(ICodeIndex contract, uint summaryCode)
        {
            var resultsList = __results.Where(x => ResultListUtils.IsEqualToContractParty(contract, x.Key) &&
                                              ResultListUtils.SummaryArticlesFilter(x.Value.Article(), summaryCode)).
                              Select(c => c.Value.Values()).ToArray();

            return(resultsList);
        }
Esempio n. 2
0
        public IList <IResultValues> GetContractPartyResultList(ICodeIndex contract, uint articleCode)
        {
            var resultsList = __results.Where(x => ResultListUtils.IsEqualToContractParty(contract, x.Key) &&
                                              x.Key.Code() == articleCode).
                              Select(c => c.Value.Values()).ToList();

            return(resultsList);
        }