20 lines
480 B
C#
20 lines
480 B
C#
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
|
|
}
|
|
} |