public EquipmentController() { _roomDao = new RoomDao(); _environmentDao = new EnvironmentDao(); _equipmentDao = new EquipmentDao(); _equipmentCategoryDao = new EquipmentCategoryDao(); _equipmentStatusDao = new EquipmentStatusDao(); }
public EquipmentCategoryController() { _equipmentCategoryDao = new EquipmentCategoryDao(); _categories = _equipmentCategoryDao.GetAll().ToList(); }