private static DreamMessage Map(CommentConcurrencyException e) {
     return DreamMessage.Conflict(string.Format(DekiResources.COMMENT_CONCURRENCY_ERROR, e.PageId));
 }
Пример #2
0
 private static DreamMessage Map(CommentConcurrencyException e, DekiResources resources) {
     return DreamMessage.Conflict(resources.Localize(DekiResources.COMMENT_CONCURRENCY_ERROR(e.PageId)));
 }