Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 11b41a50

Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)

Annotations not created on document upload

Zobrazit rozdíly:

Backend/Core/Services/DocumentService/DocumentServiceEF.cs
108 108
                RequiredAnnotations = 3                     // TODO this is only for testing purposes
109 109
            };
110 110

  
111
            foreach (var user in users)
111
            /*foreach (var user in users)
112 112
            {
113 113
                Annotation annotation = new Annotation()
114 114
                {
......
121 121
                    Note = ""
122 122
                };
123 123
                databaseContext.Annotations.Add(annotation);
124
            }
124
            }*/
125 125

  
126 126
            databaseContext.DocumentContents.Add(documentContent);
127 127
            databaseContext.Documents.Add(document);

Také k dispozici: Unified diff