private static DreamMessage Map(PageConcurrencyException e) {
     return DreamMessage.Conflict(string.Format(DekiResources.PAGE_CONCURRENCY_ERROR, e.PageId));
 }
Example #2
0
 private static DreamMessage Map(PageConcurrencyException e, DekiResources resources) {
     return DreamMessage.Conflict(resources.Localize(DekiResources.PAGE_CONCURRENCY_ERROR(e.PageId)));
 }