Skip to content

Commit e38daba

Browse files
author
Sergey Tregub
committed
Add TODOs
1 parent d8e27e2 commit e38daba

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

ProjectTemplates/ReferenceProject/Controllers/ProductsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class ProductsController: ControllerBase
2020
IMapper Mapper { get; }
2121
ILogger Logger { get; }
2222

23+
// TODO: Describe what does IOptionsSnapshot mean and what other options are there.
2324
public ProductsController(IProductsRepo productsRepo, IOptionsSnapshot<Settings.Products> options, IMapper mapper, ILogger<ProductsController> logger)
2425
{
2526
Logger = logger ?? throw new ArgumentNullException(nameof(logger));

ProjectTemplates/ReferenceProject/Settings/Products.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
namespace ReferenceProject.Settings
22
{
3+
// TODO: Describe Option Pattern
34
public class Products
45
{
56
public const string SectionName = "Products";

0 commit comments

Comments
 (0)