AndyPike.Castlecasts.Website.Controllers.AdminController.DeleteComment C# (CSharp) 메소드

DeleteComment() 공개 메소드

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

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