internal void UpdateStare(StatusComanda statusNou, InformatiiComanda deModificat, Cont user) { RestaurantEntities1 context = new RestaurantEntities1(); context.ModificaStare(deModificat.Numarcomanda, statusNou.id_status); MessageBox.Show("Stare comanda modificata!"); MainViewModel.Instance.ActiveScreen = new ComenziViewModel(user); }