public IActionResult AddScores(AddBatchScoreModel model) { if (model.PlayerId != 0) { unit.AddBatchOfScores(model); } return(RedirectToAction("Index")); }