示例#1
0
        public void TestCreateAndListService()
        {
            ApplicationSeeder.Seed();

            var bo      = new ServiceBO();
            var service = new Service("Moving property", "Transporting property/belongings", true);

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

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