public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var artistVm = await _service.GetArtistOrNullAsync(id.Value); if (artistVm == null) { return(NotFound()); } return(View(artistVm)); }
public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var artistVm = await _service.GetArtistOrNullAsync(id.Value); if (artistVm == null) { return(NotFound()); } return(View(artistVm)); }