private void Cell_Click(object send, EventArgs eventArgs) { if ((send as IView)?.Tag is IEvent model) { EventManager.Instance.GetDetailsSecond(model.Id); } _baseViewModel.GoPage(PageConstants.PageNameEventDetails); }
private void GetPage(IHome data) { var page = MenuManager.Instance.GetItem() .OfType <IHome>() .FirstOrDefault(x => x.Page == data.Page && x.PageActive) ?.ClickArgument; _baseViewModel.GoPage(page); }