new API project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace zero.Mapper;
|
||||
|
||||
internal static class ServiceCollectionExtensions
|
||||
{
|
||||
public static IServiceCollection AddZeroMapper(this IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IZeroMapper, ZeroMapper>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user