Exemplo n.º 1
0
 // GET: LandManagements/Create
 public IActionResult Create()
 {
     ViewData["AmountSignId"] = new SelectList(_context.AmountSign, "AmountSignId", "AmountSignName");
     ViewData["GenderId"]     = new SelectList(_context.Gender, "GenderId", "GenderName");
     ViewData["NumberSignId"] = new SelectList(_context.Set <NumberSign>(), "NumberSignId", "NumberSignName");
     return(View());
 }
 // GET: ProductReadyToDelivers/Create
 public IActionResult Create()
 {
     ViewData["NumberSignId"]     = new SelectList(_context.NumberSign, "NumberSignId", "NumberSignName");
     ViewData["ProductQualityId"] = new SelectList(_context.ProductQuality, "ProductQualityId", "ProductQualityName");
     ViewData["ProductTypeId"]    = new SelectList(_context.Set <ProductType>(), "ProductTypeId", "ProductTypeName");
     return(View());
 }
Exemplo n.º 3
0
 // GET: FoodManagements/Create
 public IActionResult Create()
 {
     ViewData["AmountSignId"] = new SelectList(_context.AmountSign, "AmountSignId", "AmountSignName");
     ViewData["FoodTypeId"]   = new SelectList(_context.Set <FoodType>(), "FoodTypeId", "FoodTypeName");
     ViewData["NumberSignId"] = new SelectList(_context.Set <NumberSign>(), "NumberSignId", "NumberSignName");
     return(View());
 }
 // GET: Doctors/Create
 public IActionResult Create()
 {
     ViewData["SpecialistTypeId"] = new SelectList(_context.Set <SpecialistType>(), "SpecialistTypeId", "SpecialistTypeName");
     return(View());
 }
 // GET: Transports/Create
 public IActionResult Create()
 {
     ViewData["TransportTypeId"] = new SelectList(_context.Set <TransportType>(), "TransportTypeId", "TransportTypeName");
     return(View());
 }
 // GET: CowManagements/Create
 public IActionResult Create()
 {
     ViewData["CowCollectionId"] = new SelectList(_context.CowCollection, "CowCollectionId", "CowCollectionName");
     ViewData["CowGroupId"]      = new SelectList(_context.CowGroup, "CowGroupId", "CowGroupName");
     ViewData["CowPurposeId"]    = new SelectList(_context.Set <CowPurpose>(), "CowPurposeId", "CowPurposeName");
     ViewData["GenderId"]        = new SelectList(_context.Set <Gender>(), "GenderId", "GenderName");
     ViewData["CowNationId"]     = new SelectList(_context.Set <NationOfCow>(), "CowNationId", "CowNationName");
     return(View());
 }