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