public ShoppingCartController(IConfiguration configuration, IInterestHttpRepository interestHttpRepository, IAnimalHttpRepository animalHttpRepository) { _configuration = configuration; // apiBaseUrl = _configuration.GetValue<string>("WebAPIBaseUrl"); _animalHttpRepository = animalHttpRepository; _interestHttpRepository = interestHttpRepository; }
public AnimalController(IConfiguration configuration, IAnimalHttpRepository animalHttpRepository) { _configuration = configuration; // apiBaseUrl = _configuration.GetValue<string>("WebAPIBaseUrl"); _animalHttpRepository = animalHttpRepository; }