private DeleteConfirmed ( int id, bool deleteRelated ) : System.Web.Mvc.ActionResult | ||
id | int | |
deleteRelated | bool | |
return | System.Web.Mvc.ActionResult |
public ActionResult DeleteConfirmed(int id, bool deleteRelated)
{
MediaServices.DeleteAlbum(id, deleteRelated, HttpContext.Server);
return RedirectToAction("Index");
}