コード例 #1
0
 public SampleOrderModel(IHostingEnvironment hostingEnvironment,
                         IUploadFileService uploadFileService,
                         IExamplesRepository examplesRepository,
                         ExampleDbContext context)
 {
     _hostingEnvironment = hostingEnvironment;
     _uploadFileService  = uploadFileService;
     _context            = context;
     _exampleRepository  = examplesRepository;
     Orders = new List <OrderViewModel>();
 }
コード例 #2
0
 public ExamplesPersonalBackend()
 {
     _examplesRepository = new ExamplesRepository();
 }