mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00

This reverts commit 94fdfa40e8af9c9b788aafe2cf89eacc2913eeea. Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
20 lines
726 B
C#
20 lines
726 B
C#
using Bit.Core.Billing.Caches;
|
|
using Bit.Core.Billing.Caches.Implementations;
|
|
using Bit.Core.Billing.Services;
|
|
using Bit.Core.Billing.Services.Implementations;
|
|
|
|
namespace Bit.Core.Billing.Extensions;
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
public static class ServiceCollectionExtensions
|
|
{
|
|
public static void AddBillingOperations(this IServiceCollection services)
|
|
{
|
|
services.AddTransient<IOrganizationBillingService, OrganizationBillingService>();
|
|
services.AddTransient<IPremiumUserBillingService, PremiumUserBillingService>();
|
|
services.AddTransient<ISetupIntentCache, SetupIntentDistributedCache>();
|
|
services.AddTransient<ISubscriberService, SubscriberService>();
|
|
}
|
|
}
|