示例#1
0
 public IHttpActionResult PagedNotificationHistory(string data)
 => this.Log(() => Operation.Try(() => ThrowIfFail(() => Encoding.UTF8.GetString(Convert.FromBase64String(data)), ex => new MalformedApiArgumentsException()))
             .Then(_jopr => ThrowIfFail(() => JsonConvert.DeserializeObject <SequencePageArgs>(_jopr.Result, Constants.Misc_DefaultJsonSerializerSettings), ex => new MalformedApiArgumentsException()))
             .Then(argopr => _notifier.PagedNotificationHistory(argopr.Result.PageSize, argopr.Result.PageIndex))
             .OperationResult(Request));