public ActionResult Index() { DLTModelList modelList = new DLTModelList(); modelList.modelList.AddRange(dLTModel); return(View(modelList)); }
public ActionResult Create() { int groupNum = 5; int groupCount = 4; var list = new DLTModelList(); for (int i = 0; i < groupCount; i++) { for (int j = 0; j < groupNum; j++) { var item = CreateRandom(list.modelList); list.modelList.Add(item); } } return(View(list)); }