// GET: Stuffs/Create public IActionResult Create() { ViewData["BrandId"] = new SelectList(_context.Brands, "Id", "Name"); ViewData["StuffGroupId"] = new SelectList(_context.StuffGroups, "Id", "GroupName"); ViewData["StuffUnitId"] = new SelectList(_context.Set <StuffUnit>(), "Id", "Name"); return(View()); }
// GET: Cities/Create public IActionResult Create() { ViewData["ProvinceId"] = new SelectList(_context.Set <Province>(), "Id", "Name"); return(View()); }