Exemple #1
0
 public LineController(IOptions <StateConfigs> config)
 {
     api      = new LineApiController();
     customer = new CustomerModel(config);
     action   = new LineActionModel(config);
     func     = new Functional();
 }
 public CheckerController(IOptions <StateConfigs> config)
 {
     api      = new LineApiController(ChannelName: "NextforDealer");
     DAC      = new DACModel(config);
     action   = new LineActionModel(config);
     func     = new Functional();
     template = new LineMessageTemplate();
 }
 public AccountController(IOptions <StateConfigs> configs)
 {
     func   = new Functional();
     acc    = new AccountModel(configs);
     dt     = new DataTable();
     cus    = new CustomerModel(configs);
     api    = new LineApiController();
     action = new LineActionModel(configs);
 }
Exemple #4
0
 public AccountModel(IOptions <StateConfigs> configs) : base(configs)
 {
     statement = new Statement();
     dt        = new DataTable();
     resAccess = new ResultAccess(configs);
     func      = new Functional();
     api       = new LineApiController();
     state     = configs.Value;
     action    = new LineActionModel(configs);
 }