docs: add xmldoc in api controller

This commit is contained in:
Oliver Booth 2023-08-11 15:41:02 +01:00
parent fb8848270f
commit 1bdd2a04f0
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -5,6 +5,9 @@ using OliverBooth.Services;
namespace OliverBooth.Areas.Api.Controllers; namespace OliverBooth.Areas.Api.Controllers;
/// <summary>
/// Represents a controller for the blog API.
/// </summary>
[Controller] [Controller]
[Area("api")] [Area("api")]
[Route("blog")] [Route("blog")]
@ -12,6 +15,10 @@ public sealed class BlogApiController : ControllerBase
{ {
private readonly BlogService _blogService; private readonly BlogService _blogService;
/// <summary>
/// Initializes a new instance of the <see cref="BlogApiController" /> class.
/// </summary>
/// <param name="blogService">The <see cref="BlogService" />.</param>
public BlogApiController(BlogService blogService) public BlogApiController(BlogService blogService)
{ {
_blogService = blogService; _blogService = blogService;