public List <AbonentInLibraryDTO> AbonentListSpoiled(int libId) { StoredProcedure procedure = new StoredProcedure(_context); return(procedure.AbonentsSpoiled().Where(c => c.LibraryId == libId).Select(c => (AbonentInLibraryDTO)c).ToList()); }