示例#1
0
 // GET: PcrProcesses/Create
 public IActionResult Create()
 {
     ViewData["CoolingId"]      = new SelectList(_context.Cooling, "Id", "Id");
     ViewData["DenaturationId"] = new SelectList(_context.Denaturation, "Id", "Id");
     ViewData["EnzymeId"]       = new SelectList(_context.Enzyme, "Id", "Id");
     ViewData["MixAId"]         = new SelectList(_context.MixA, "Id", "Id");
     ViewData["MixBId"]         = new SelectList(_context.MixB, "Id", "Id");
     ViewData["NucleicAcidId"]  = new SelectList(_context.NucleicAcid, "Id", "Id");
     ViewData["Pcr1Id"]         = new SelectList(_context.Pcr1, "Id", "Id");
     ViewData["Pcr2Id"]         = new SelectList(_context.Pcr2, "Id", "Id");
     ViewData["ResultSlipId"]   = new SelectList(_context.Set <ResultSlip>(), "Id", "Id");
     return(View());
 }
 // GET: Projects/Create
 public IActionResult Create()
 {
     ViewData["OligonucleotideInfoId"] = new SelectList(_context.OligonucleotideInfo, "Id", "Id");
     ViewData["PcrProcessId"]          = new SelectList(_context.PcrProcess, "Id", "Id");
     ViewData["ProjectResearchPlanId"] = new SelectList(_context.ProjectResearchPlan, "Id", "Id");
     ViewData["ProjectStateId"]        = new SelectList(_context.Set <ProjectState>(), "Id", "Id");
     ViewData["ResultsId"]             = new SelectList(_context.Set <Results>(), "Id", "Id");
     ViewData["SampleExtractionId"]    = new SelectList(_context.Set <SampleExtraction>(), "Id", "Id");
     ViewData["SampleProviderId"]      = new SelectList(_context.Set <SampleProvider>(), "Id", "Id");
     ViewData["WorkItemMonitorId"]     = new SelectList(_context.Set <WorkItemMonitor>(), "Id", "Id");
     return(View());
 }
示例#3
0
 // GET: ProjectResearchPlans/Create
 public IActionResult Create()
 {
     ViewData["ProjectStepsId"]      = new SelectList(_context.Set <ProjectSteps>(), "Id", "Id");
     ViewData["ReferenceArticlesId"] = new SelectList(_context.Set <ReferenceArticles>(), "Id", "Id");
     ViewData["StepsResearchId"]     = new SelectList(_context.Set <StepsResearch>(), "Id", "Id");
     ViewData["WorkItemsId"]         = new SelectList(_context.Set <WorkItems>(), "Id", "Id");
     return(View());
 }
 // GET: OligonucleotideInfoes/Create
 public IActionResult Create()
 {
     ViewData["OligoNucleotideId"]     = new SelectList(_context.OligoNucleotide, "Id", "Id");
     ViewData["OligoNucleotideMixBId"] = new SelectList(_context.Set <OligoNucleotideMixB>(), "Id", "Id");
     return(View());
 }
 // GET: Results/Create
 public IActionResult Create()
 {
     ViewData["SampleExtractionId"] = new SelectList(_context.Set <SampleExtraction>(), "Id", "Id");
     return(View());
 }