示例#1
0
        public void Delete(int id)
        {
            HotelEntities context = new HotelEntities();

            context.RemoveFeatures(id);
            context.SaveChanges();
            MainViewModel.Instance.ActiveScreen = new FeaturesViewModel();
        }