UX Pass 5 (#3128)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
dbc4f35107
commit
c93af3e56f
126 changed files with 1989 additions and 2877 deletions
|
@ -88,6 +88,7 @@ public class ChapterController : BaseApiController
|
|||
chapter.AgeRating = dto.AgeRating;
|
||||
}
|
||||
|
||||
dto.Summary ??= string.Empty;
|
||||
|
||||
if (chapter.Summary != dto.Summary.Trim())
|
||||
{
|
||||
|
@ -260,6 +261,8 @@ public class ChapterController : BaseApiController
|
|||
#endregion
|
||||
|
||||
|
||||
_unitOfWork.ChapterRepository.Update(chapter);
|
||||
|
||||
if (!_unitOfWork.HasChanges())
|
||||
{
|
||||
return Ok();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue