Exemplo n.º 1
0
 public AbstractVoteController(
     ApiSettings settings,
     ILogger <AbstractVoteController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVoteService voteService,
     IApiVoteModelMapper voteModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.VoteService     = voteService;
     this.VoteModelMapper = voteModelMapper;
 }
Exemplo n.º 2
0
 public VoteController(
     ApiSettings settings,
     ILogger <VoteController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVoteService voteService,
     IApiVoteModelMapper voteModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            voteService,
            voteModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }