mysql
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user