From 1bdd2a04f0f9adf7325c7b51f45519c4e009358f Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Fri, 11 Aug 2023 15:41:02 +0100 Subject: [PATCH] docs: add xmldoc in api controller --- OliverBooth/Areas/Api/Controllers/BlogApiController.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OliverBooth/Areas/Api/Controllers/BlogApiController.cs b/OliverBooth/Areas/Api/Controllers/BlogApiController.cs index 8a4bf82..d16b396 100644 --- a/OliverBooth/Areas/Api/Controllers/BlogApiController.cs +++ b/OliverBooth/Areas/Api/Controllers/BlogApiController.cs @@ -5,6 +5,9 @@ using OliverBooth.Services; namespace OliverBooth.Areas.Api.Controllers; +/// +/// Represents a controller for the blog API. +/// [Controller] [Area("api")] [Route("blog")] @@ -12,6 +15,10 @@ public sealed class BlogApiController : ControllerBase { private readonly BlogService _blogService; + /// + /// Initializes a new instance of the class. + /// + /// The . public BlogApiController(BlogService blogService) { _blogService = blogService;