Exemple #1
0
        public IActionResult CreateUser([Required] string email,
                                        [Required] string firstname,
                                        [Required] string lastname,
                                        [Required] string password,
                                        [Required] string role)
        {
            _userCommand.SaveUser(email, firstname, lastname, password, role);

            return(Ok());
        }