Fix resharper complaints
This commit is contained in:
parent
246111df63
commit
97d7888b36
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace Website.Controllers
|
|||
var post = await _repo.GetPostByUrlAsync(url);
|
||||
var model = new BlogPostViewModel(post);
|
||||
return View(model);
|
||||
} catch (InvalidOperationException e) {
|
||||
} catch (InvalidOperationException) {
|
||||
return NotFound();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue