示例#1
0
        public void Commit(int campaignId)
        {
            var filters         = memberSearchFilterRepository.GetByCampaignId(campaignId).Select(msf => msf.ToSearchCriteria());
            var filteredMembers = memberService.Search(filters);

            this.campaignRepository.Commit(campaignId, filteredMembers);
        }
示例#2
0
 public IEnumerable <MemberSearchFilter> ForCampaign(int id)
 {
     return(_repository.GetByCampaignId(id));
 }
示例#3
0
        public IEnumerable <Member> SearchByCampaignId(int campaignId)
        {
            var filters = memberSearchFilterRepository.GetByCampaignId(campaignId).Select(msf => msf.ToSearchCriteria());

            return(Search(filters));
        }