- Updated `using` directives to include new namespaces. - Marked `TestEmailTemplateController` as obsolete with a suggestion to use MediatR. - Simplified the constructor by removing an empty block. - Modified `GetAll` method to include `[HttpGet]` and `[Obsolete]` attributes while retaining functionality. - Added a non-action `GetAll` method that overrides the base implementation.
14 lines
540 B
C#
14 lines
540 B
C#
using EnvelopeGenerator.Application.Contracts.Services;
|
|
using EnvelopeGenerator.Application.DTOs;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Web.Controllers.Test;
|
|
|
|
[Obsolete("Use MediatR")]
|
|
public class TestEnvelopeCertificateController : TestControllerBase<IEnvelopeCertificateService, EnvelopeCertificateDto, EnvelopeCertificate, int>
|
|
{
|
|
public TestEnvelopeCertificateController(ILogger<TestEnvelopeCertificateController> logger, IEnvelopeCertificateService service) : base(logger, service)
|
|
{
|
|
|
|
}
|
|
} |