public void GetTest()
        {
            CampaignProvider provider = new CampaignProvider(env.ConnectorSgbd);
            Campaign         campaign = provider.getCampagne(1);

            Assert.IsNotNull(campaign);
        }
        public Campaign GetCampagne(int idCampaign)
        {
            if (idCampaign == 0)
            {
                return(null);
            }
            if (idCampaign == -1)
            {
                return(new Campaign());
            }
            Campaign campaign = CampaignProvider.getCampagne(idCampaign);

            ViewBag.campaign = campaign;
            return(campaign);
        }