private void InitViewBag()
 {
     ViewBag.environments = _environmentDao.GetAll().ToList();
     ViewBag.statuses     = _equipmentStatusDao.GetAll().ToList();
     ViewBag.categories   = _equipmentCategoryDao.GetAll().ToList();
     ViewBag.rooms        = _roomDao.GetAll().ToList();
 }
 public EquipmentStatusController()
 {
     _equipmentStatusDao = new EquipmentStatusDao();
     _statuses           = _equipmentStatusDao.GetAll().ToList();
 }