public void UpdateListByEntity(Entity entity) { if (entity != null) { SelectedEntity = entity; _tickets = _ticketServiceBase.GetOpenTickets(entity.Id).Select(x => new TicketButtonViewModel(x, entity)).ToList(); Refresh(); } }