diff --git a/OliverBooth/Services/BlogService.cs b/OliverBooth/Services/BlogService.cs index 5069ef6..bd0d055 100644 --- a/OliverBooth/Services/BlogService.cs +++ b/OliverBooth/Services/BlogService.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using Microsoft.EntityFrameworkCore; using OliverBooth.Data; using OliverBooth.Data.Blog; @@ -7,7 +7,7 @@ namespace OliverBooth.Services; public sealed class BlogService { - private IDbContextFactory _dbContextFactory; + private readonly IDbContextFactory _dbContextFactory; /// /// Initializes a new instance of the class.