public async Task <IActionResult> Create(Batch batch)
        {
            if (batch == null)
            {
                return(RedirectToAction(nameof(Error)));
            }

            await _service.Create(batch);

            return(RedirectToAction(nameof(Index)));
        }