public CommandCapture(IAppConfiguration appConfiguration, ITheCatWebAPI theCatAPI, ICatBreedsRepositories breedsRepository, ICategoryRepository categoryRepository, IImageUrlRepositories imageUrlRepository) { this.appSettings = appConfiguration.GetAppSettings(); this.theCatAPI = theCatAPI; this.breedsRepository = breedsRepository; this.categoryRepository = categoryRepository; this.imageUrlRepository = imageUrlRepository; }
public CatsBreedsController(ICatBreedsRepositories breedsRepository, IImageUrlRepositories imageUrlRepositories, ICommandCapture commandCapture, ILogger <CatsBreedsController> logger) { stopWatch = new Stopwatch(); this.breedsRepository = breedsRepository; this.imageUrlRepositories = imageUrlRepositories; this.commandCapture = commandCapture; this.logger = logger; }
public BreedsRepository(TheCatDBContext theCatContext, IImageUrlRepositories imageUrlRepository) { this.theCatContext = theCatContext; this.imageUrlRepository = imageUrlRepository; }