Remove BaseModel and BaseService from Jobs namespace

Deleted BaseModel and BaseService classes, along with their
associated using statements and members. This removes the
abstraction layers for database, logging, and state management
from EnvelopeGenerator.ServiceHost.Jobs.
This commit is contained in:
2026-02-26 21:24:21 +01:00
parent c5b167f0d4
commit 41dde6f016
2 changed files with 0 additions and 31 deletions

View File

@@ -1,18 +0,0 @@
using DigitalData.Modules.Database;
using DigitalData.Modules.Logging;
namespace EnvelopeGenerator.ServiceHost.Jobs;
public abstract class BaseModel
{
protected MSSQLServer Database { get; }
protected Logger Logger { get; }
protected State State { get; }
protected BaseModel(State state)
{
Logger = state.LogConfig!.GetLogger();
Database = state.Database!;
State = state;
}
}

View File

@@ -1,13 +0,0 @@
using DigitalData.Modules.Base;
namespace EnvelopeGenerator.ServiceHost.Jobs;
public class BaseService : BaseClass
{
protected State State { get; }
public BaseService(State state) : base(state.LogConfig!)
{
State = state;
}
}