15 lines
444 B
C#
15 lines
444 B
C#
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);
|
|
}
|
|
}
|
|
}
|