public ComputersController(CompanyContext cont) { context = cont; compRepo = new DAL.CompRepository(context); }
public ComputersController() { context = new CompanyContext(); compRepo = new DAL.CompRepository(context); }