Exemplo n.º 1
0
        public async Task ActivateAccount([FromQuery(Name = "key")] string key)
        {
            var user = await _userService.ActivateRegistration(key);

            if (user == null)
            {
                throw new InternalServerErrorException("Not user was found for this activation key");
            }
        }