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); }