コード例 #1
0
 public TempUpdateDiamodsHendler(UpdateDiamondsModel model, HttpContextBase httpContext, ICSVParser csvParser,
                                 IDatabasePersistence db)
 {
     this.model       = model;
     this.httpContext = httpContext;
     this.csvParser   = csvParser;
     this.db          = db;
 }
コード例 #2
0
 public TempUpdateDiamodsHendler(UpdateDiamondsModel model, HttpContextBase httpContext, ICSVParser csvParser,
     IDatabasePersistence db)
 {
     this.model = model;
     this.httpContext = httpContext;
     this.csvParser = csvParser;
     this.db = db;
 }
コード例 #3
0
 public ActionResult UpdateDiamonds(UpdateDiamondsModel model)
 {
     var parser = new TempUpdateDiamodsHendler(model, HttpContext, csvParser, databasePersistence);
     parser.ParseAndSave();
     return View();
 }