21 lines
983 B
C#
21 lines
983 B
C#
namespace FoodsharingSiegen.Server.Data.Service
|
|
{
|
|
public class ServiceBase
|
|
{
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
/// <summary> Database Context </summary>
|
|
///
|
|
/// <value> The context. </value>
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
protected FsContext Context { get; }
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
/// <summary> Specialised constructor for use only by derived class. </summary>
|
|
///
|
|
/// <remarks> A Beging, 20.10.2021. </remarks>
|
|
///
|
|
/// <param name="context"> The context. </param>
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
protected ServiceBase(FsContext context) => Context = context;
|
|
}
|
|
} |