public PresentationController(DotteamContext context, IWebHostEnvironment env, IConfiguration config)
 {
     _context         = context;
     _env             = env;
     _uploadDirectory = Path.Combine(_env.WebRootPath, @"images\upload");
     _fileSizeLimit   = config.GetValue <long>("FileSizeLimit");
 }
Exemple #2
0
 public TechController(DotteamContext context, IWebHostEnvironment env, IConfiguration config)
 {
     _context = context;
     _env     = env;
     _config  = config;
 }
Exemple #3
0
 public HomeController(ILogger <HomeController> logger, DotteamContext context)
 {
     _logger  = logger;
     _context = context;
 }
 public CommentController(DotteamContext context)
 {
     _context = context;
 }
Exemple #5
0
 public IssueController(DotteamContext context)
 {
     _context = context;
 }