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