コード例 #1
0
ファイル: FeatureActions.cs プロジェクト: adriana127/Hotel
        public void Save(string featureName)
        {
            HotelEntities context = new HotelEntities();

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