public IActionResult Edit(Guid id) { var contestToEdit = _contestRepository.GetItem(id); if (contestToEdit == null) { return(BadRequest("Nothing to edit")); } return(View(contestToEdit)); }
public IActionResult Edit(Guid id) { var contestToEdit = _contestRepository.GetItem(id); if (contestToEdit == null) { return(BadRequest("Nothing to edit")); } return(View(contestToEdit)); }