コード例 #1
0
 public EquipmentController()
 {
     _roomDao              = new RoomDao();
     _environmentDao       = new EnvironmentDao();
     _equipmentDao         = new EquipmentDao();
     _equipmentCategoryDao = new EquipmentCategoryDao();
     _equipmentStatusDao   = new EquipmentStatusDao();
 }
コード例 #2
0
 public EquipmentCategoryController()
 {
     _equipmentCategoryDao = new EquipmentCategoryDao();
     _categories           = _equipmentCategoryDao.GetAll().ToList();
 }