예제 #1
0
 public PgHome()
 {
     InitializeComponent();
     _repo = new DashboardRepo();
 }
 public DashboardController(IConfiguration configuration)
 {
     dRepo          = new DashboardRepo(configuration);
     _configuration = configuration;
 }
 public DashboardController(DatabaseRepo database, DashboardRepo dashboardRepo)
 {
     this.database      = database;
     this.dashboardRepo = dashboardRepo;
 }
예제 #4
0
 public DashboardController(IConfiguration configuration)
 {
     _connectionString = Helper.ConnectionString(configuration);
     DashRepo          = new DashboardRepo(_connectionString);
 }