示例#1
0
        public void Save(string featureName)
        {
            HotelEntities context = new HotelEntities();

            context.AddFeature(featureName);
            context.SaveChanges();
            MainViewModel.Instance.ActiveScreen = new FeaturesViewModel();
        }