private static DreamMessage Map(CommentConcurrencyException e) { return DreamMessage.Conflict(string.Format(DekiResources.COMMENT_CONCURRENCY_ERROR, e.PageId)); }
private static DreamMessage Map(CommentConcurrencyException e, DekiResources resources) { return DreamMessage.Conflict(resources.Localize(DekiResources.COMMENT_CONCURRENCY_ERROR(e.PageId))); }