private static DreamMessage Map(ResourceConcurrencyException e) {
     return DreamMessage.Conflict(string.Format(DekiResources.PROPERTY_CONCURRENCY_ERROR, e.ResourceId));
 }
Example #2
0
 private static DreamMessage Map(ResourceConcurrencyException e, DekiResources resources) {
     return DreamMessage.Conflict(resources.Localize(DekiResources.PROPERTY_CONCURRENCY_ERROR(e.ResourceId)));
 }