public void Save(string featureName) { HotelEntities context = new HotelEntities(); context.AddFeature(featureName); context.SaveChanges(); MainViewModel.Instance.ActiveScreen = new FeaturesViewModel(); }