This commit is contained in:
Elias Jansson
2023-01-31 14:16:18 +01:00
parent 63e25fcf84
commit 156124534b
3 changed files with 20 additions and 7 deletions

View File

@@ -47,14 +47,20 @@ namespace Nevyn.Models
}
}
public class updateFromDatabase
public void updateFromDatabase()
{
Classes.Mysql mysql = new Classes.Mysql();
// = mysql.selectWallet();
}
Wallet dbWallet = mysql.SelectWallet();
this.Kort = dbWallet.Kort;
this.Spara = dbWallet.Spara;
this.Buffert = dbWallet.Buffert;
}
}
public class WalletDTO
{
public int Id { get; set; }