Ejemplo n.º 1
0
 public AbstractPetController(
     ApiSettings settings,
     ILogger <AbstractPetController> logger,
     ITransactionCoordinator transactionCoordinator,
     IPetService petService,
     IApiPetModelMapper petModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.PetService     = petService;
     this.PetModelMapper = petModelMapper;
 }
Ejemplo n.º 2
0
		public PetController(
			ApiSettings settings,
			ILogger<PetController> logger,
			ITransactionCoordinator transactionCoordinator,
			IPetService petService,
			IApiPetModelMapper petModelMapper
			)
			: base(settings,
			       logger,
			       transactionCoordinator,
			       petService,
			       petModelMapper)
		{
			this.BulkInsertLimit = 250;
			this.MaxLimit = 1000;
			this.DefaultLimit = 250;
		}