Allow updating rating in review modal
This commit is contained in:
parent
2487eb97e1
commit
114ee4f09b
7 changed files with 23 additions and 6 deletions
|
|
@ -46,6 +46,7 @@ public class ReviewController : BaseApiController
|
|||
.WithBody(dto.Body)
|
||||
.WithSeriesId(dto.SeriesId)
|
||||
.WithTagline(string.Empty)
|
||||
.WithRating(dto.Rating)
|
||||
.Build();
|
||||
|
||||
if (rating.Id == 0)
|
||||
|
|
@ -83,6 +84,7 @@ public class ReviewController : BaseApiController
|
|||
.WithSeriesId(dto.SeriesId)
|
||||
.WithVolumeId(chapter.VolumeId)
|
||||
.WithChapterId(chapter.Id)
|
||||
.WithRating(dto.Rating)
|
||||
.WithReview(dto.Body)
|
||||
.Build();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue