protected override StandardsApplicableReviews ByIdInternal(string id) { var val = _crmDatastore .ById(id); return(Converter.StandardsApplicableReviewsFromCrm(val)); }
protected override StandardsApplicableReviews CreateInternal(StandardsApplicableReviews review) { var val = _crmDatastore .Create(Converter.FromApi(review)); return(Converter.StandardsApplicableReviewsFromCrm(val)); }
protected override IEnumerable <IEnumerable <StandardsApplicableReviews> > ByEvidenceInternal(string evidenceId) { var retval = new List <IEnumerable <StandardsApplicableReviews> >(); var allVals = _crmDatastore .ByEvidence(evidenceId); foreach (var vals in allVals) { retval.Add(vals.Select(val => Converter.StandardsApplicableReviewsFromCrm(val))); } return(retval); }