Inheritance: ProjekatOoad.Services.Venue
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     base.OnNavigatedTo(e);
     //prima parametar restoran koji mu je proslijedjen
     RestoranDetail = (Restoran) e.Parameter;
     DataContext = RestoranDetail;
     //prikazati back button
     SystemNavigationManager systemNavigationManager = SystemNavigationManager.GetForCurrentView();
     systemNavigationManager.BackRequested += DetailPage_BackRequested;
     systemNavigationManager.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
 }
 private void MasterListView_ItemClick(object sender, ItemClickEventArgs e)
 {
     //kad se oznaci lista update detaila uraditi
     //ovo je krsenje mvvm, primjer kako se moze dobaviti kliknuti item
     //ovo se moglo uraditi i sa binding na selected item pa kad je selected pozvati tamo 
     ((RestoraniViewModel)DataContext).updateRestoran((Restoran)e.ClickedItem,setDataContext);
     r = (Restoran) e.ClickedItem;
     //ako je mali ekran navigiraj na detail page
     if (GrupaStanja.CurrentState == MaliEkran || GrupaStanja.CurrentState == MaliEkranSearchOpened)
     {
         // drill in je animacija kad se otvara page
         Frame.Navigate(typeof(RestoraniDetailView), e.ClickedItem, new DrillInNavigationTransitionInfo());
     }
 }
 //da se moze pozvati update detalja restorana
 public async void updateRestoran(Restoran r,Action callback)
 {
     await restoraniDS.VenService.updateVenueDetailed(r, callback);
 }