Beispiel #1
0
        public Task <DocumentEntity <Dataset> > GetDatasetDocumentByDatasetId(string datasetId)
        {
            DocumentEntity <Dataset> dataset = _cosmosRepository.QueryDocuments <Dataset>(1).Where(c => c.Id == datasetId && !c.Deleted).AsEnumerable().FirstOrDefault();

            return(Task.FromResult(dataset));
        }