public static CommandSingleContext getContext() { if (commandContext == null) { commandContext = new CommandSingleContext(); } return(commandContext); }
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)); }