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