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