diff --git a/NationalLibrary/Metodi/DataQueries.cs b/NationalLibrary/Metodi/DataQueries.cs index fd75d8a..a88905c 100644 --- a/NationalLibrary/Metodi/DataQueries.cs +++ b/NationalLibrary/Metodi/DataQueries.cs @@ -355,6 +355,13 @@ public static List SelectAllFromRL(LibraryContext ctx) return wlview.ToList(); } + public static List SelectAllFromReL(LibraryContext ctx) + { + var wlview = from x in ctx.Rents + select x; + + return wlview.ToList(); + } ////////////////// QUERY MANIPOLAZIONE AFFITTI \\\\\\\\\\\\\\\\\\\\\\ public static void InsertRent(Guid BookGuid, string FiscalCode, LibraryContext ctx)