20 lines
765 B
C#
20 lines
765 B
C#
using DigitalData.Core.API;
|
|
using DigitalData.Core.Contracts.Application;
|
|
using DigitalData.Core.Contracts.Infrastructure;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Web.Controllers.Test
|
|
{
|
|
[ApiController]
|
|
[Route("api/test/[controller]")]
|
|
public class TestControllerBase<TCRUDService, TCRUDRepository, TDto, TEntity, TId> : BasicCRUDControllerBase<TCRUDService, TCRUDRepository, TDto, TEntity, TId>
|
|
where TCRUDService : ICRUDService<TCRUDRepository, TDto, TDto, TDto, TEntity, TId>
|
|
where TCRUDRepository : ICRUDRepository<TEntity, TId>
|
|
where TDto : class where TEntity : class
|
|
{
|
|
public TestControllerBase(ILogger logger, TCRUDService service) : base(logger, service)
|
|
{
|
|
}
|
|
}
|
|
}
|