public IEnumerable <Reference> GetReferences(GetReferences referencesInfo)
 {
     return(!References.ContainsKey(referencesInfo.ForDocumentId) ?
            Enumerable.Empty <Reference>() :
            (References[referencesInfo.ForDocumentId] ?? new string[] { })
            .Select(r => new Reference()
     {
         Document = r, Id = "/api/documents/" + r
     }));
 }
Exemple #2
0
 public IEnumerable <Reference> GetReferences(GetReferences referencesInfo)
 {
     throw new NotImplementedException();
 }