Пример #1
0
 public PetApiManager(HttpClient httpClient, IHttpContextAccessor httpContextAccessor, IShelterApiService shelterApiService)
 {
     _httpClient             = httpClient;
     _httpClient.BaseAddress = new Uri(StaticVars.BaseAPIAdress + "pet/");
     _httpContextAccessor    = httpContextAccessor;
     _shelterApiService      = shelterApiService;
 }
Пример #2
0
 public ShelterController(IShelterApiService shelterService)
 {
     _shelterService = shelterService;
 }
Пример #3
0
 public PetsController(IPetApiService petApiService, IFileService fileService, IShelterApiService shelterApiService)
 {
     _petApiService     = petApiService;
     _fileService       = fileService;
     _shelterApiService = shelterApiService;
 }