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; }
public DashboardController(IConfiguration configuration) { _connectionString = Helper.ConnectionString(configuration); DashRepo = new DashboardRepo(_connectionString); }