Ejemplo n.º 1
0
 public ActionResult AddScan(int protocolId, AddScan model)
 {
     _survey.AddScan(CurrentPractice, protocolId, model.CTDI, model.DLP, model.Weight);
     return RedirectToAction("Details", new { protocolId });
 }
Ejemplo n.º 2
0
 //
 // GET: /Protocol/AddScan/{protocolId}
 public ActionResult AddScan(int protocolId)
 {
     var model = new AddScan(_survey.FetchProtocol(CurrentPractice, protocolId));
     return View(model);
 }