Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 585 Bytes
using Microsoft.Extensions.DependencyInjection;
using PolicyService.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PolicyService.RestClients
{
public static class RestClientsInstaller
{
public static IServiceCollection AddPricingRestClient(this IServiceCollection services)
{
services.AddSingleton(typeof(IPricingClient), typeof(PricingClient));
services.AddSingleton(typeof(IPricingService), typeof(PricingService));
return services;
}
}
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.