make Service abstract

This commit is contained in:
Collin M. Barrett 2018-09-26 10:08:15 -05:00
parent 0b7d263b4d
commit 8be5df79ab

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;