Beispiel #1
0
 public IHttpActionResult ClearNotification([FromBody] NotificationData data)
 => this.Log(() => Operation.Try(() => data.ThrowIfNull(new MalformedApiArgumentsException()))
             .Then(opr => _notifier.ClearNotification(data.Id))
             .OperationResult(Request));