Beispiel #1
0
        public async Task <JsonResult> Create([FromBody] CreateUserRequest request)
        {
            var result = await _mediator.Send(request.Adapt <CreateIdentityCmd>()).ConfigureAwait(false);

            return(new JsonResult(result));
        }