Exemplo n.º 1
0
        public async Task <IActionResult> SignUp(SignUpModel model)
        {
            model.BindId(m => m.Id);

            await _identityService.SignUpAsync(model.Id, model.Email, model.FirstName, model.LastName, model.Password, model.Role);

            return(NoContent());
        }