コード例 #1
0
 public DownloadController(UserContext userContext, DownloadItemContext downloadItemContext, IHostingEnvironment environment)
 {
     _usercontext         = userContext;
     _downloaditemcontext = downloadItemContext;
     hostingEnvironment   = environment;
 }
コード例 #2
0
 public MainController(UserContext userContext, ArticleContext articleContext, DownloadItemContext downloadItemContext)
 {
     _usercontext         = userContext;
     _articlecontext      = articleContext;
     _downloaditemcontext = downloadItemContext;
 }