示例#1
0
 // ILogger<HomeController> logger,
 public HomeController(IMapper mapper, ghDbContext context, IGhibliRepository ghibliRepository)
 {
     //_logger = logger;
     _context = context;
     _ghRepo  = ghibliRepository;
     _mapper  = mapper;
 }
 public GhibliRepository(ghDbContext db)
 {
     _db = db;
 }
示例#3
0
 public FilmsController(HttpClient client, ghDbContext context, IMemoryCache memoryCache)
 {
     _client      = client;
     _context     = context;
     _memoryCache = memoryCache;
 }