protected override void OnModelCreating(ModelBuilder modelBuilder) { WalletTable.Configure(modelBuilder); WalletSeed.Configure(modelBuilder); WalletGroupTable.Configure(modelBuilder); WalletGroupSeed.Configure(modelBuilder); WalletGroupItemTable.Configure(modelBuilder); WalletGroupItemSeed.Configure(modelBuilder); }
public WalletModel[] Get() { return(WalletTable.Read()); }
public WalletModel GetWallet(string walletName) { return(WalletTable.ReadOne(walletName)); }
public bool Create(WalletModel wallet) { return(WalletTable.Create(wallet.Name, wallet, false)); }