diff --git a/Core.Cerberos.DAL.API/Controllers/UserController.cs b/Core.Cerberos.DAL.API/Controllers/UserController.cs
index fd8eeef..f1ea407 100644
--- a/Core.Cerberos.DAL.API/Controllers/UserController.cs
+++ b/Core.Cerberos.DAL.API/Controllers/UserController.cs
@@ -438,58 +438,5 @@ namespace LSA.Core.Kerberos.API.Controllers
return StatusCode(500, $"Internal server error, ErrorMessage: {ex.Message}");
}
}
-
- ///
- /// Get Consent Form PDF.
- ///
- /// The found pdf.
- /// The pdf found.
- /// The pdf not found error.
- /// The service internal error.
- [HttpGet]
- [Route("GetConsentFormPDF")]
- [ProducesResponseType(typeof(BlobDownloadUriAdapter), StatusCodes.Status200OK)]
- [Authorize(AuthenticationSchemes = Schemes.HeathScheme)]
- [Permission("UserManagement.Read")]
- public async Task GetConsentFormPDFService()
- {
- try
- {
- var result = await service.GetConsentFormPDFService();
-
- return Ok(result);
- }
- catch (Exception ex)
- {
- logger.LogError(ex, "Error in GetConsentFormPDFService");
- return StatusCode(500, $"Internal server error, ErrorMessage: {ex.Message}");
- }
- }
-
- ///
- /// Accept user consent form.
- ///
- /// A representing
- /// the asynchronous execution of the service.
- /// The User found.
- /// The User not found.
- /// The service internal error.
- [HttpPatch("AcceptUserConsentForm")]
- [ProducesResponseType(typeof(UserAdapter), StatusCodes.Status200OK)]
- [Authorize(AuthenticationSchemes = $"{Schemes.HeathScheme}, {Schemes.AzureScheme}")]
- public async Task AcceptUserConsentFormAsync()
- {
- try
- {
- var result = await service.AcceptUserConsentFormService().ConfigureAwait(false);
-
- return Ok(result);
- }
- catch (Exception ex)
- {
- logger.LogError(ex, "Error in AcceptUserConsentFormService");
- return StatusCode(500, $"Internal server error, ErrorMessage: {ex.Message}");
- }
- }
}
}
diff --git a/Core.Cerberos.Provider/Contracts/IUserService.cs b/Core.Cerberos.Provider/Contracts/IUserService.cs
index 7b2e9dd..2433b98 100644
--- a/Core.Cerberos.Provider/Contracts/IUserService.cs
+++ b/Core.Cerberos.Provider/Contracts/IUserService.cs
@@ -125,19 +125,5 @@ namespace Core.Cerberos.Provider.Contracts
/// The user's email.
/// A representing the asynchronous execution of the service.
Task GetTokenAdapter(string email);
-
- ///
- /// Get Consent Form PDF.
- ///
- /// A representing
- /// the asynchronous execution of the service.
- Task GetConsentFormPDFService();
-
- ///
- /// Accept user consent form.
- ///
- /// A representing
- /// the asynchronous execution of the service.
- Task AcceptUserConsentFormService();
}
}