AndyPike.Castlecasts.Website.Controllers.AdminController.DeleteComment C# (CSharp) Method

DeleteComment() public method

public DeleteComment ( [ comment ) : void
comment [
return void
        public void DeleteComment([ARFetch("id")]Comment comment)
        {
            comment.Delete();

            Flash["success"] = "The Castlecast was successfully deleted.";
            RedirectToAction("Dashboard");
        }