Пример #1
0
 public FilmController(IGhibliRepository ghibli, IMapper mapper, HttpClient client, IMemoryCache cache, GhibliDbContext _db)
 {
     _ghibli      = ghibli;
     _mapper      = mapper;
     _client      = client;
     db           = _db;
     _memoryCache = cache;
 }
 public MovieController(GhibliDbContext context, IGhibliRepository repo, IMapper mapper)
 {
     _context = context;
     _repo    = repo;
     _mapper  = mapper;
 }
 public GhibliRepository(GhibliDbContext db)
 {
     _db = db;
 }