1
0
mirror of https://github.com/bitwarden/mobile synced 2026-02-25 00:52:49 +00:00

set up user settings data table and access repository

This commit is contained in:
Kyle Spearrin
2017-02-08 20:39:37 -05:00
parent 230722945e
commit 3ad1e8a3ba
10 changed files with 69 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ namespace Bit.App.Repositories
Connection.Update(obj);
return Task.FromResult(0);
}
public virtual Task UpsertAsync(T obj)
{
Connection.InsertOrReplace(obj);
return Task.FromResult(0);
}
public virtual async Task DeleteAsync(T obj)
{