Fix resharper complaints

This commit is contained in:
Robert Marshall 2019-05-04 17:41:24 +01:00
parent 246111df63
commit 97d7888b36

View file

@ -34,7 +34,7 @@ namespace Website.Controllers
var post = await _repo.GetPostByUrlAsync(url); var post = await _repo.GetPostByUrlAsync(url);
var model = new BlogPostViewModel(post); var model = new BlogPostViewModel(post);
return View(model); return View(model);
} catch (InvalidOperationException e) { } catch (InvalidOperationException) {
return NotFound(); return NotFound();
} }
} }