Exemplo n.º 1
0
        public void CreateDefaultWebCampaign()
        {
            WebCampaign webCampaign = new WebCampaign()
            {
                FormId         = Guid.Parse("f585cf49-d04f-8a47-ae52-30f59527a9d5"),
                RedirectTarget = "Test.html",
            };

            webCampaign.Insert(_mongoConnection);
        }
Exemplo n.º 2
0
        private WebCampaign InsertWebCampaign()
        {
            WebCampaign webCampaign = new WebCampaign()
            {
                FormId         = Guid.NewGuid(),
                RedirectTarget = $"url : {Guid.NewGuid()}",
            };

            webCampaign.Insert(_mongoConnection);

            return(webCampaign);
        }