Skip to content

Commit

Permalink
2.1.2 Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoPires committed May 22, 2018
1 parent 8c532d1 commit 4f27343
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using AutoMapper;
using Equinox.Application.Interfaces;
using Equinox.Application.Interfaces;
using Equinox.Application.Services;
using Equinox.Domain.CommandHandlers;
using Equinox.Domain.Commands;
Expand Down Expand Up @@ -39,8 +38,6 @@ public static void RegisterServices(IServiceCollection services)
services.AddSingleton<IAuthorizationHandler, ClaimsRequirementHandler>();

// Application
//services.AddSingleton(Mapper.Configuration);
//services.AddScoped<IMapper>(sp => new Mapper(sp.GetRequiredService<IConfigurationProvider>(), sp.GetService));
services.AddScoped<ICustomerAppService, CustomerAppService>();

// Domain - Events
Expand Down

0 comments on commit 4f27343

Please sign in to comment.