Plan1.Controllers.DHBlobController.Delete C# (CSharp) Method

Delete() private method

private Delete ( int id, System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.ActionResult
id int
collection System.Web.Mvc.FormCollection
return System.Web.Mvc.ActionResult
        public ActionResult Delete(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add delete logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

Same methods

DHBlobController::Delete ( string uri ) : System.Web.Mvc.ActionResult

Usage Example

 public void DataTest53()
 {
     DHBlobController target = new DHBlobController(); // TODO: Initialize to an appropriate value
     string uri = string.Empty; // TODO: Initialize to an appropriate value
     ActionResult expected = null; // TODO: Initialize to an appropriate value
     ActionResult actual;
     actual = target.Delete(uri);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
All Usage Examples Of Plan1.Controllers.DHBlobController::Delete