示例#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;
 }