Beispiel #1
0
        public void Create()
        {
            ConferenceModel conference = new ConferenceModel
            {
                ProfileId = 1,
                Location  = "TestLocation",
                Date      = new DateTime(2016, 1, 1),
                Content   = "TestContet",
                Title     = "TestTitle"
            };

            repo.SaveConference(conference);

            var result = repo.SearchConference(conference);

            Assert.IsTrue(result.Count() > 0);
        }