1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Rename services implementations

This commit is contained in:
Kyle Spearrin
2016-12-02 23:37:08 -05:00
parent bfb98131e5
commit 63243eddc6
5 changed files with 22 additions and 9 deletions

View File

@ -133,12 +133,12 @@ namespace Bit.Api
services.AddScoped<AuthenticatorTokenProvider>();
// Services
services.AddSingleton<IMailService, MailService>();
services.AddSingleton<IMailService, SendGridMailService>();
services.AddSingleton<ICipherService, CipherService>();
services.AddScoped<IUserService, UserService>();
services.AddScoped<IPushService, PushService>();
services.AddScoped<IPushService, PushSharpPushService>();
services.AddScoped<IDeviceService, DeviceService>();
services.AddScoped<IBlockIpService, AzureBlockIpService>();
services.AddScoped<IBlockIpService, AzureQueueBlockIpService>();
// Cors
services.AddCors(config =>