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