public EMPLOYEESTests() { string connectionString = ConfigurationManager.ConnectionStrings["MyConnection"].ConnectionString; database = new HRSMContextContainer(connectionString); }
public EmployeeController() { database = new HRSMContextContainer(Properties.Settings.Default.HRSMConnectionString); erpContext = new GalaxtErpContext(); }
// // GET: /GuardSite/ public GuardSiteController() { database = new HRSMContextContainer(Properties.Settings.Default.HRSMConnectionString); }