public async Task <IActionResult> AssignMarker(AssignMarkerToHeatViewModel model, int competitionInstanceId, int competitionId, int markerId) { if (await _markerService.AssignMarkerToHeatAsync(model) == false) { return(Json("Guntime already set for heat")); } return(RedirectToAction("Markers", new { competitionInstanceId, competitionId })); }