Beispiel #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            ProductEntity pe = new ProductEntity();
            Boolean       isSucced;

            isSucced = pe.Delete(id);

            //return Content("Insert state==>" + isSucced.ToString());

            return(RedirectToAction("Index"));
        }
        public void Set_Product_With_Deleted()
        {
            _product.Delete();

            Assert.AreEqual(_product.Deleted, true);
        }