예제 #1
0
        public void TestCreateAndListProfile()
        {
            ApplicationSeeder.Seed();

            var bo      = new ProfileBO();
            var profile = new Profile("John Doe", "Portugal", DateTime.Now);

            var resCreate = bo.Create(profile);
            var resGet    = bo.Read(profile.Id);

            Assert.IsTrue(resCreate.Success && resGet.Success && resGet.Result != null);
        }