예제 #1
0
        string BuildCheckCloseData(long accountId)
        {
            var command = new AccountStatusQuery(accountId);

            return(JsonConvert.SerializeObject(command));
        }
예제 #2
0
        public async Task <ActionResult> GetAccountStatus([FromBody] AccountStatusQuery query)
        {
            var result = await _mediator.Send(query);

            return(Ok(result));
        }