Example #1
0
        public void rootObject_should_save_to_database()
        {
            RootObject rootObject = new RootObject();

            var result = _rootObjectRepository.SaveRootObject(rootObject);

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Id > 0);
        }
Example #2
0
        public RootObject SaveRootObject(RootObject rootObject)
        {
            var rootObj = _rootObjectRepository.SaveRootObject(rootObject);

            return(rootObj);
        }