public BaseController(
     ComicsManagerContext context,
     IOptions <AppSettings> config)
 {
     _context = context;
     _config  = config;
 }
Exemplo n.º 2
0
 public FilesController(
     ComicsManagerContext context,
     IOptions <AppSettings> config,
     IHostingEnvironment hostingEnvironment)
     : base(context, config)
 {
     _hostingEnvironment = hostingEnvironment;
 }
Exemplo n.º 3
0
 public ComicsController(
     ComicsManagerContext context,
     IOptions <AppSettings> config)
     : base(context, config)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructeur
 /// </summary>
 /// <param name="context">DbContext</param>
 public BaseController(ComicsManagerContext context)
 {
     _context = context;
 }
 public EditorsController(ComicsManagerContext context)
     : base(context)
 {
 }