Ejemplo n.º 1
0
 public DownloadController(UserContext userContext, DownloadItemContext downloadItemContext, IHostingEnvironment environment)
 {
     _usercontext         = userContext;
     _downloaditemcontext = downloadItemContext;
     hostingEnvironment   = environment;
 }
Ejemplo n.º 2
0
 public MainController(UserContext userContext, ArticleContext articleContext, DownloadItemContext downloadItemContext)
 {
     _usercontext         = userContext;
     _articlecontext      = articleContext;
     _downloaditemcontext = downloadItemContext;
 }