public async Task <IActionResult> Create([Bind("Id,Age,FirstName,LastName,Email,SerialNumber")] Submisssion submisssion) { /* if (!serialNumber.ValidedSerialsNumber(submisssion.SerialNumber)) * { * return NotFound("Serial number does not exist!"); * * }*/ if (ModelState.IsValid) { _context.Add(submisssion); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(submisssion)); }