public IActionResult delete(int id)
 {
     _batchRepo.DeleteBatch(id);
     return(RedirectToAction("index"));
 }