Esempio n. 1
0
 public AbstractVotesController(
     ApiSettings settings,
     ILogger <AbstractVotesController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVotesService votesService,
     IApiVotesModelMapper votesModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.VotesService     = votesService;
     this.VotesModelMapper = votesModelMapper;
 }
Esempio n. 2
0
 public VotesController(
     ApiSettings settings,
     ILogger <VotesController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVotesService votesService,
     IApiVotesModelMapper votesModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            votesService,
            votesModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }