public PetApiManager(HttpClient httpClient, IHttpContextAccessor httpContextAccessor, IShelterApiService shelterApiService) { _httpClient = httpClient; _httpClient.BaseAddress = new Uri(StaticVars.BaseAPIAdress + "pet/"); _httpContextAccessor = httpContextAccessor; _shelterApiService = shelterApiService; }
public ShelterController(IShelterApiService shelterService) { _shelterService = shelterService; }
public PetsController(IPetApiService petApiService, IFileService fileService, IShelterApiService shelterApiService) { _petApiService = petApiService; _fileService = fileService; _shelterApiService = shelterApiService; }