public static void Main()
        {
            UploadDbContext uploadSystemDbContext = new UploadDbContext();

            var files = uploadSystemDbContext.ZipFileContent.Select(x => x.Content).ToList();

            Console.WriteLine(string.Join("\n\n", files));
        }
Пример #2
0
        public ComplinesProvider(UploadDbContext uploadDbContext,
                                 ILogger <ComplinesProvider> logger,
                                 IMapper mapper
                                 )
        {
            this.uploadDbContext = uploadDbContext;
            this.mapper          = mapper;
            this.logger          = logger;

            Seed();
        }
Пример #3
0
 public HomeController(IHostingEnvironment env, UploadDbContext context)
 {
     _context = context;
     _env     = env;
 }