Ejemplo n.º 1
0
        public async Task <IActionResult> RegisterNewUser([FromBody] ApplicationUserPostModel request)
        {
            await requestExecutor.ExecuteCommandAsync(new CreateUserCommand(request.Login, request.Password,
                                                                            request.Email, request.FirstName, request.LastName));

            return(Ok());
        }