Renamed `SignatureDto` to `DocReceiverElementDto` across the codebase to better reflect its purpose as a DTO for document receiver elements. Updated all references, including: - `SignatureController.cs`: Changed `doc.Elements` type to `IEnumerable<DocReceiverElementDto>`. - `DocumentDto.cs`: Updated `Elements` property type. - `MappingProfile.cs`: Adjusted mappings for the renamed DTO. - `IDocumentReceiverElementService.cs` and `DocumentReceiverElementService.cs`: Updated interfaces and services to use the new DTO. - `TestDocumentReceiverElementController.cs`: Updated generic type parameters. These changes improve clarity, align naming with the domain model, and ensure consistency throughout the application.
26 lines
881 B
C#
26 lines
881 B
C#
using AutoMapper;
|
|
using DigitalData.Core.Application;
|
|
using EnvelopeGenerator.Application.Common.Dto;
|
|
using EnvelopeGenerator.Application.Common.Interfaces.Repositories;
|
|
using EnvelopeGenerator.Application.Common.Interfaces.Services;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Application.Services;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Obsolete("Use MediatR")]
|
|
public class DocumentReceiverElementService : BasicCRUDService<IDocumentReceiverElementRepository, DocReceiverElementDto, DocReceiverElement, int>, IDocumentReceiverElementService
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="repository"></param>
|
|
/// <param name="mapper"></param>
|
|
[Obsolete("Use MediatR")]
|
|
public DocumentReceiverElementService(IDocumentReceiverElementRepository repository, IMapper mapper)
|
|
: base(repository, mapper)
|
|
{
|
|
}
|
|
} |