Пример #1
0
        public void Modify(int id, string featureName, string price, account cont)
        {
            HotelEntities context = new HotelEntities();

            context.ModifyService(id, featureName, int.Parse(price));
            context.SaveChanges();
            MainViewModel.Instance.ActiveScreen = new ServicesViewModel(cont);
        }