string BuildCreateAccountCommand() { var order = new CreateAccountCommmand() { CustomerId = "test1" }; return(JsonConvert.SerializeObject(order)); }
public async Task <ActionResult <AccountModel> > CreateAccountAsync([FromBody] CreateAccountCommmand createAccountCommmand) { return(await _mediator.Send(createAccountCommmand)); }