public GiftController(GiftDbContext context) { BaseEndPoint = new Uri("http://localhost:56852/api/gifts"); BaseEndPointGirls = new Uri("http://localhost:56852/api/gifts/girls"); BaseEndPointBoys = new Uri("http://localhost:56852/api/gifts/boys"); _context = context; _httpClient = new HttpClient(); }
public GiftsController(GiftDbContext context) { _context = context; }