Revize c9e97683
Přidáno uživatelem Vojtěch Bartička před téměř 3 roky(ů)
Backend/Core/Services/TagService/TagServiceEF.cs | ||
---|---|---|
148 | 148 |
|
149 | 149 |
var category = databaseContext.TagCategories.First(tc => tc.Id == request.CategoryId); |
150 | 150 |
|
151 |
databaseContext.Tags.Add(new Entities.Tag() |
|
152 | 151 |
databaseContext.Tags.Add(new Tag() |
153 | 152 |
{ |
154 | 153 |
Name = request.Name, |
Backend/Models/Tags/TagInstanceInfo.cs | ||
---|---|---|
1 |
using System; |
|
1 |
using Models.Enums; |
|
2 |
using System; |
|
2 | 3 |
using System.Collections.Generic; |
3 | 4 |
using System.Linq; |
4 | 5 |
using System.Text; |
... | ... | |
23 | 24 |
|
24 | 25 |
public string Note { get; set; } |
25 | 26 |
|
27 |
public ETagSentiment? Sentiment { get; set; } |
|
26 | 28 |
} |
27 | 29 |
} |
Také k dispozici: Unified diff
Added sentiment to GET /annotation/id