public ActionResult GetSamples(int TestId) { var model = DbHelpers.GetTestById(TestId, true).Samples; return(View(new GridModel <Sample>(model))); }
public ActionResult TestDetails(String TestId) { var model = DbHelpers.GetTestById(Int32.Parse(TestId), true); return(View(model)); }