Exemple #1
0
 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;
 }
Exemple #3
0
 public PetsController(IPetApiService petApiService, IFileService fileService, IShelterApiService shelterApiService)
 {
     _petApiService     = petApiService;
     _fileService       = fileService;
     _shelterApiService = shelterApiService;
 }