public static void IsSucceeded(this IGuardClause guardClause, IdentityResult result) { if (!result.Succeeded) { throw new RutrackerException(result.GetError(), ExceptionEventTypes.InvalidParameters); } }