public void Add()
        {
            var model = new Function()
            {
                Name      = "下载",
                TypeValue = 1
            };

            var result = FunctionDao.Add(model);

            Assert.AreEqual(1, result);
        }
Пример #2
0
 public void AddFunction(Function f)
 {
     funDao.Add(f);
 }