Exemplo n.º 1
0
 public IHttpActionResult AddBitcoinAddress([FromBody] BitcoinAddress address)
 => this.Log(() => Operation.Try(() => address.ThrowIfNull(new MalformedApiArgumentsException()))
             .Then(opr => _bitlevel.AddBitcoindAddress(address))
             .OperationResult(Request));