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