Exemple #1
0
        public async Task <ActionResponse> Activate([FromBody] ActivationBasedRequest request)
        {
            bool completed = await userRepository.ActivateUserByEmail(request.Email);

            return(new ActionResponse
            {
                State = completed
            });
        }