Exemplo n.º 1
0
        public async Task <IActionResult> AddToRole(string email, [FromBody] AddUserToRoleCommand command)
        {
            command.Email = email;

            await _userApplicationService.AddToRole(command);

            return(CreateResponse());
        }