22 lines
636 B
C#
22 lines
636 B
C#
using DataStoring.Contract;
|
|
using DataStoring.EfCore;
|
|
using DichtheitManagement;
|
|
using DichtheitManagement.Contract;
|
|
using Ninject;
|
|
using System;
|
|
|
|
namespace Mappings
|
|
{
|
|
public class KernelInitializer
|
|
{
|
|
public void Initialize(IKernel kernel)
|
|
{
|
|
kernel.Bind<DPContext>().ToSelf();
|
|
kernel.Bind(typeof(IRepository<>)).To(typeof(Repository<>));
|
|
kernel.Bind<IAuftraggeberManager>().To<AuftraggeberManager>();
|
|
kernel.Bind<IBaustelleManager>().To<BaustelleManager>();
|
|
kernel.Bind<IInspektionsObjectManager>().To<InspektionsObjectManager>();
|
|
}
|
|
}
|
|
}
|