public HomeController() { //constructor for connection strings string connectionString = ConfigurationManager.ConnectionStrings["datasource"].ConnectionString; _invoiceDataAccess = new InvoiceDAO(connectionString); _boatDataAccess = new BoatDAO(connectionString); }
public BoatController() { string connectionString = ConfigurationManager.ConnectionStrings["datasource"].ConnectionString; _boatDataAccess = new BoatDAO(connectionString); }