예제 #1
0
 public ServiceConfigurationController()
 {
     db = new DAL.ServiceContext();
     coinIMPMinerContext = new Repositories.CoinIMPMinerContext(db);
     jseCoinMinerContext = new Repositories.JSECoinMinerContext(db);
     serviceSettingRepo  = new Repositories.ServiceSettingRepositorie(db);
 }
예제 #2
0
 public JSECoinMinerRepository(DAL.ServiceContext db)
 {
     minerContext = new JSECoinMinerContext(db);
     _db          = db;
 }