public bool DeleteShowComment(Comment comment, string deleteOrShow) { if (comment != null && deleteOrShow == "delete") { return(mediaRepo.DeleteComment(comment.ID)); } else if (comment != null && deleteOrShow == "show") { //show return(true); } return(false); }