Example #1
0
        public List <CampaignStatusSchedule> GetCampaignStatusSchedulesBYcampaignGK(string accountID, string campaignGK)
        {
            List <CampaignStatusSchedule> campaignStatusSchedules = new List <CampaignStatusSchedule>();

            return(CampaignStatusSchedule.GetCampaignStatusSchedules(int.Parse(campaignGK)));

            return(campaignStatusSchedules);
        }
        public List <CampaignStatusSchedule> GetCampaignStatusSchedulesBYcampaignGK(string accountID, string campaignGK)
        {
            List <CampaignStatusSchedule> campaignStatusSchedules = new List <CampaignStatusSchedule>();

            try
            {
                return(CampaignStatusSchedule.GetCampaignStatusSchedules(int.Parse(campaignGK)));
            }
            catch (Exception ex)
            {
                ErrorMessageInterceptor.ThrowError(System.Net.HttpStatusCode.Forbidden, ex);
            }
            return(campaignStatusSchedules);
        }