protected GenericControllerCrud(
     IServiceCrud <TKey, TEntity> service,
     IMapper mapper)
 {
     _Service = service;
     _Mapper  = mapper;
 }
 public DeveloperController(IServiceCrud<Guid, Entity.Developer> service, IMapper mapper) : base(service, mapper) { }
Beispiel #3
0
 protected GenericControllerCrud(IServiceProvider serviceProvider)
 {
     _Service = serviceProvider.GetRequiredService <IServiceCrud <TKey, TEntity> >();
     _Mapper  = serviceProvider.GetRequiredService <IMapper>();
 }