예제 #1
0
        public IActionResult Index()
        {
            Console.WriteLine($"In Index... ID: {ID}");
            OriginalItem = Repo.GetItem(ID);
            if (OriginalItem == null)
            {
                Console.WriteLine("Item to edit is Null");
            }
            EditModel model = new EditModel();

            model.Populate(Repo, ID);
            return(View(model));
        }