public static bool Delete(Comment myComment) { if (myComment != null) { return(CommentDB.Delete(myComment.id)); } else { return(false); } }