public async Task <IActionResult> Create([Bind("Id,ScientificName,CommonName,Family,Category,Duration,ImageURI")] PlantModel plantModel) { if (ModelState.IsValid) { _context.Add(plantModel); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(plantModel)); }