Exemplo n.º 1
0
 public D0Controller()
 {
     this.D0Repository = new D0Repository();
     this.D6Repository = new D6Repository();
 }
 public D0Controller()
 {
     this.D0Repository   = new D0Repository();
     this.CommonFunction = new Common();
 }
Exemplo n.º 3
0
        private TimeSpan ts     = new TimeSpan(0, 0, 300); //設定連線 KRisk 連線時間

        //public ICacheProvider Cache { get; set; }
        public KRiskController()
        {
            this.KriskRepository = new KriskRepository();
            this.D0Repository    = new D0Repository();
            kriskUrl             = Properties.Settings.Default["kriskUrl"].ToString();
        }