Exemple #1
0
        public void NUnit_DynamicColumn_Domain_Delete()
        {
            Sys_DynamicColumnServices service = new Sys_DynamicColumnServices();
            int rs    = 0;
            var model = new Sys_DynamicColumn {
                Id = 79
            };
            var result = service.Delete <Sys_DynamicColumn>(model.Id);

            //  NUnit.Framework.Assert.IsTrue(result);
            if (result == ActionStatus.EditSucceed.ToString())
            {
                rs += 1;
                Console.WriteLine("Process Success >>> Delete >>> " + model.Id);
            }
        }
 public void NUnit_DynamicColumn_Domain_Delete()
 {
     Sys_DynamicColumnServices service = new Sys_DynamicColumnServices();
     int rs = 0;
     var model = new Sys_DynamicColumn { Id = 79 };
     var result = service.Delete<Sys_DynamicColumn>(model.Id);
   //  NUnit.Framework.Assert.IsTrue(result);
     if (result == ActionStatus.EditSucceed.ToString())
     {
         rs += 1;
         Console.WriteLine("Process Success >>> Delete >>> " + model.Id);
     }
 }