예제 #1
0
        public static CommandSingleContext getContext()
        {
            if (commandContext == null)
            {
                commandContext = new CommandSingleContext();
            }

            return(commandContext);
        }
예제 #2
0
        public ActionResult EditForm(int id)
        {
            CommandSingleContext singleContext = CommandSingleContext.getContext();

            T editedRow = singleContext.DoSingleCommand(container.request, id);

            ViewBag.Table = editedRow;

            container.includeMethod(editedRow);

            return(View(container.sizeDbFilelds));
        }