public TreningPage(Teretane teretane) { InitializeComponent(); BindingContext = model = new TreningViewModel() { Teretana = teretane }; }
public PlacanjePage(Teretane teretane) { InitializeComponent(); BindingContext = model = new ClanarinaViewModel() { Teretana = teretane }; }