public static string Delete(commentaire__sondage CommentaireS) { db.commentaire__sondage.Attach(CommentaireS); db.commentaire__sondage.Remove(CommentaireS); db.SaveChanges(); return("Le commentaire sur le sondage a bien été suppimé"); }
public static commentaire__sondage Select(int id) { commentaire__sondage CommentaireS = db.commentaire__sondage.Find(id); return(CommentaireS); }