From 8f2e5cf5e1f97c898293ecb25ea51ad1f88a1ddf Mon Sep 17 00:00:00 2001 From: collinbarrett Date: Wed, 26 Sep 2018 10:08:15 -0500 Subject: [PATCH] make Service abstract --- src/FilterLists.Services/Service.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FilterLists.Services/Service.cs b/src/FilterLists.Services/Service.cs index a3d81f479..c08055eac 100644 --- a/src/FilterLists.Services/Service.cs +++ b/src/FilterLists.Services/Service.cs @@ -5,14 +5,14 @@ namespace FilterLists.Services { [UsedImplicitly] - public class Service + public abstract class Service { protected readonly FilterListsDbContext DbContext; protected readonly IConfigurationProvider MapConfig; - public Service(FilterListsDbContext dbContext) => DbContext = dbContext; + protected Service(FilterListsDbContext dbContext) => DbContext = dbContext; - public Service(FilterListsDbContext dbContext, IConfigurationProvider mapConfig) + protected Service(FilterListsDbContext dbContext, IConfigurationProvider mapConfig) { DbContext = dbContext; MapConfig = mapConfig;