コード例 #1
0
        public List <AbonentInLibraryDTO> AbonentList(int libId)
        {
            StoredProcedure procedure = new StoredProcedure(_context);

            return(procedure.Abonents().Where(c => c.LibraryId == libId).Select(c => (AbonentInLibraryDTO)c).ToList());
        }
コード例 #2
0
ファイル: ReaderPage.cs プロジェクト: xhette/WebLib
        public List <AbonentInLibraryDTO> AbonentList(int readerId)
        {
            StoredProcedure procedure = new StoredProcedure(_context);

            return(procedure.Abonents().Where(c => c.ReaderId == readerId && c.AbonentStatus == 3).Select(c => (AbonentInLibraryDTO)c).ToList());
        }