コード例 #1
0
ファイル: ScenariosController.cs プロジェクト: Morebis-GIT/CI
        private List <CreateCampaignPassPriorityModel> ProduceCreateCampaignPassPriorityModels(List <CampaignWithProductFlatModel> forCampaigns, List <Pass> withPasses)
        {
            List <CreateCampaignPassPriorityModel> result = null;

            if (forCampaigns != null && forCampaigns.Any() && withPasses != null && withPasses.Any())
            {
                result = CampaignPassPrioritiesServiceMapper.CreateCampaignPassPriorityModels(
                    forCampaigns,
                    withPasses,
                    _mapper);
            }

            return(result);
        }