/// <summary> /// Try to update the certificate's status. /// </summary> /// <returns>True if the status was updated, false otherwise.</returns> internal bool TryUpdateCertificateStatus() => AllLevel.Aggregate(false, (current, level) => current | level.TryUpdateCertificateStatus());
/// <summary> /// Gets the certificate level. /// </summary> /// <param name="level">The level.</param> /// <returns></returns> public CertificateLevel GetCertificateLevel(int level) => AllLevel.FirstOrDefault(x => (int)x.Level == level);