diff --git a/src/administration/Administration.Service/BusinessLogic/CompanyDataBusinessLogic.cs b/src/administration/Administration.Service/BusinessLogic/CompanyDataBusinessLogic.cs
index 490b286ea0..959bac3aa5 100644
--- a/src/administration/Administration.Service/BusinessLogic/CompanyDataBusinessLogic.cs
+++ b/src/administration/Administration.Service/BusinessLogic/CompanyDataBusinessLogic.cs
@@ -404,45 +404,6 @@ private async Task HandleCompanyCertificateCreationAsync(CompanyCertificateTypeI
await _portalRepositories.SaveAsync().ConfigureAwait(false);
}
- ///
- public async Task CreateCompanyCertificate(CompanyCertificateCreationData data, CancellationToken cancellationToken)
- {
- var documentContentType = data.Document.ContentType.ParseMediaTypeId();
- documentContentType.CheckDocumentContentType(_settings.CompanyCertificateMediaTypes);
-
- var companyCertificateRepository = _portalRepositories.GetInstance();
- if (!await companyCertificateRepository.CheckCompanyCertificateType(data.CertificateType).ConfigureAwait(false))
- {
- throw new ControllerArgumentException($"{data.CertificateType} is not assigned to a certificate");
- }
-
- await HandleCompanyCertificateCreationAsync(data.CertificateType, data.Document, documentContentType, companyCertificateRepository, data.ExpiryDate, cancellationToken).ConfigureAwait(false);
- }
-
- private async Task HandleCompanyCertificateCreationAsync(CompanyCertificateTypeId companyCertificateTypeId,
- IFormFile document,
- MediaTypeId mediaTypeId,
- ICompanyCertificateRepository companyCertificateRepository,
- DateTimeOffset? expiryDate,
- CancellationToken cancellationToken)
- {
- var (documentContent, hash) = await document.GetContentAndHash(cancellationToken).ConfigureAwait(false);
- var doc = _portalRepositories.GetInstance().CreateDocument(document.FileName, documentContent,
- hash, mediaTypeId, DocumentTypeId.COMPANY_CERTIFICATE, x =>
- {
- x.CompanyUserId = _identityData.IdentityId;
- x.DocumentStatusId = DocumentStatusId.PENDING;
- });
-
- companyCertificateRepository.CreateCompanyCertificate(_identityData.CompanyId, companyCertificateTypeId, doc.Id,
- x =>
- {
- x.ValidTill = expiryDate?.ToUniversalTime();
- });
-
- await _portalRepositories.SaveAsync().ConfigureAwait(false);
- }
-
///
public Task> GetCredentials(int page, int size, CompanySsiDetailStatusId? companySsiDetailStatusId, VerifiedCredentialTypeId? credentialTypeId, string? companyName, CompanySsiDetailSorting? sorting)
{