Problem was solved, when I set return value of MarkNotifications
from IReadOnlyCollection<NotificationMarkResultDto>
to NotificationMarkResult[]
and in NotificationMarkResultDto
were no setters written before (because I wanted to do that for the immutable response), but now they have been added.