1
0
mirror of https://github.com/bitwarden/server synced 2025-12-23 19:53:40 +00:00

Noop services

This commit is contained in:
Kyle Spearrin
2017-01-20 22:29:01 -05:00
parent 52b8fef26f
commit b08c960cc0
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
namespace Bit.Core.Services
{
public class NoopPushService : IPushService
{
public Task PushSyncCipherCreateAsync(Cipher cipher)
{
return Task.FromResult(0);
}
public Task PushSyncCipherDeleteAsync(Cipher cipher)
{
return Task.FromResult(0);
}
public Task PushSyncCiphersAsync(Guid userId)
{
return Task.FromResult(0);
}
public Task PushSyncCipherUpdateAsync(Cipher cipher)
{
return Task.FromResult(0);
}
}
}