public IActionResult Create(Batch batch) { if (ModelState.IsValid) { _employeeRepository.AddBatch(batch); return(RedirectToAction("Index")); } return(View()); }