public new async Task <IActionResult> View(string id) { var model = await repository.GetByNameAsync(id); if (model == null) { return(NotFound()); } return(View(model)); }