Example #1
0
        public IQueryable <Guid> GetScanIDs(Guid documentID)
        {
            ISingleResult <pGetScansFromDocumentResult> result = _context.GetScansFromDocument(documentID);

            return(result.Select(s => s.scanID).AsQueryable());
            //IQueryable<Scan> scans = _context.Scans.Where(s => s.DocumentID == documentID);
            //return scans.Select(s=>s.ScanID);
        }