/// <inheritdoc/> public IChallenge Create(int authzId, string type) { var challenge = ChallengeRepository.Create(); OnCreateParams(challenge, authzId, type); ChallengeRepository.Add(challenge); Logger.Info("Challenge {id} created", challenge.Id); return(challenge); }