public List <Model.Notification> listerNotificationFichier(Model.Fichier fichier) { using (IDbConnection connection = new System.Data.SqlClient.SqlConnection(ConnectionHelper.conVal("CalendrierDatabase"))) { return(connection.Query <Model.Notification>($"Select * From Notification Where IdFichier='{fichier.idFichier}' ORDER BY IdNotification DESC").ToList()); } }
public List <Model.Notification> listerNotificationFichier(Model.Fichier fichier) { return(notificationDAOSQLServer.listerNotificationFichier(fichier)); }