Initial commit
This commit is contained in:
20
GerstITS.Examples.Logic/Module.Example.cs
Normal file
20
GerstITS.Examples.Logic/Module.Example.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using GerstITS.AutoMapper;
|
||||
using GerstITS.Examples.Logic.Example;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Logic
|
||||
{
|
||||
public sealed partial class Module
|
||||
{
|
||||
#region Methods
|
||||
|
||||
private static void RegisterExample(IServiceCollection container)
|
||||
{
|
||||
container.RegisterMappingsOf<IExampleProvider>();
|
||||
|
||||
container.AddScoped<IExampleProvider, ExampleProvider>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user