示例#1
0
 private void returnModelToEdit(string action, ref Experiment e)
 {
     ViewBag.Action = action;
     SetDDLs();
     if (action == "Edit")
     {
         e.Variants = _eRepository.GetVariants(e.Id);
     }
 }