public void Show(UCFregments fregment, Dao.SuperDao dao) { ISuperBusiness next = _businesses.Find(b => b.Code == fregment); if (next == null) return; next.SetParent(_currentBusiness); _currentBusiness = next; _currentBusiness.Show(); _currentBusiness.Load(dao); }
public ISuperBusiness GetBusi(UCFregments fregment) { return _businesses.Find(b => b.Code == fregment); }