Revize 4a313c5d
Přidáno uživatelem Vojtěch Bartička před téměř 3 roky(ů)
Backend/Core/Services/AnnotationService/AnnotationServiceEF.cs | ||
---|---|---|
27 | 27 |
private readonly IMapper mapper; |
28 | 28 |
private readonly IHTMLService htmlService; |
29 | 29 |
|
30 |
|
|
31 | 30 |
public AnnotationServiceEF(DatabaseContext context, ILogger logger, IMapper mapper, IHTMLService htmlService) |
32 | 31 |
{ |
33 | 32 |
this.context = context; |
... | ... | |
84 | 83 |
{ |
85 | 84 |
var annotations = context.Annotations |
86 | 85 |
.Where(a => !(a is FinalAnnotation)) |
87 |
.Where(a => a.User.Id == userId && a.State != EState.DONE)
|
|
86 |
.Where(a => a.User.Id == userId) |
|
88 | 87 |
.Include(a => a.Document) |
89 | 88 |
.ToList(); |
90 | 89 |
|
Také k dispozici: Unified diff
Get user annotations returns all annotations