string BuildCheckCloseData(long accountId) { var command = new AccountStatusQuery(accountId); return(JsonConvert.SerializeObject(command)); }
public async Task <ActionResult> GetAccountStatus([FromBody] AccountStatusQuery query) { var result = await _mediator.Send(query); return(Ok(result)); }