示例#1
0
        public async Task <object> ActivateUserById(Guid userId)
        {
            var response = await _userLogic.ActivateUserById(userId);

            if (response)
            {
                return(_userValidations.UserActivatedSuccess());
            }

            return(_userValidations.UserIdNotFound(userId));
        }