make Service abstract

This commit is contained in:
collinbarrett 2018-09-26 10:08:15 -05:00
parent 445184984c
commit 8f2e5cf5e1

View file

@ -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;