public void LoadAllClicks() { Data.Repository respository = new Data.Repository(); try { ObservableCollection<Click> clicks = respository.GetAllClicks(); } catch (Exception ex) { throw ex; } try { this.Clicks = clicks.ToViewModels(); } catch (Exception ex) { throw ex; } }