public async Task <IActionResult> Create([Bind("brand,toolbox,hasToolbox,ID,name,price,SKU,acqDate")] Tool tool) { if (ModelState.IsValid) { _context.Add(tool); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(tool)); }