From 319f3aee2c6800f0f30fb64c337379446532ee42 Mon Sep 17 00:00:00 2001 From: Adrien Sambres Date: Thu, 8 Mar 2018 16:07:40 +0100 Subject: [PATCH] Update sample2.cs (#5629) Missing semicolon --- .../error-handling/exception-handling/samples/sample2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet/web-api/overview/error-handling/exception-handling/samples/sample2.cs b/aspnet/web-api/overview/error-handling/exception-handling/samples/sample2.cs index 2ce07ed09d78..b5155526118d 100644 --- a/aspnet/web-api/overview/error-handling/exception-handling/samples/sample2.cs +++ b/aspnet/web-api/overview/error-handling/exception-handling/samples/sample2.cs @@ -7,8 +7,8 @@ public Product GetProduct(int id) { Content = new StringContent(string.Format("No product with ID = {0}", id)), ReasonPhrase = "Product ID Not Found" - } + }; throw new HttpResponseException(resp); } return item; -} \ No newline at end of file +}