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