示例#1
0
        private static void EditSteak()
        {
            int   Id      = SteakView.SearchSteak();
            Steak mySteak = SteakRepository.ListById(Id);

            mySteak = SteakView.EditSteakInfo(mySteak);
            SteakRepository.Edit(mySteak.Id, mySteak);
            SteakView.DisplaySteak(mySteak);
        }