1
0
mirror of https://github.com/bitwarden/mobile synced 2024-12-27 01:06:50 +01:00
Bitwarden-app-android-iphon.../test/Playground/Program.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
572 B
C#
Raw Normal View History

using System;
using System.Threading.Tasks;
using Bit.Core.Services;
namespace Bit.Playground
{
public class Program
{
public static void Main(string[] args)
{
MainAsync(args).Wait();
Console.ReadLine();
}
public static async Task MainAsync(string[] args)
{
var db = new LiteDbStorageService("test.db");
await db.SaveAsync("testkey", new { val = 1 });
Console.WriteLine(await db.GetAsync<object>("testkey"));
Console.ReadLine();
}
}
}