init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Kreta.Eugyintezes.BusinessLogic.Interface;
|
||||
using SimpleInjector;
|
||||
|
||||
namespace Kreta.Eugyintezes.WebApi.Infrastructure
|
||||
{
|
||||
public static class DependencyInjection
|
||||
{
|
||||
public static void RegisterTypes(Container container)
|
||||
{
|
||||
BusinessLogic.Infrastructure.DependencyInjection.RegisterTypes(container);
|
||||
|
||||
container.Register<IServiceContext, WebApiServiceContext>(Lifestyle.Scoped);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user