Some refactorings
This commit is contained in:
@ -29,10 +29,7 @@ namespace TrackerUI
|
||||
prizeAmountValue.Text,
|
||||
prizePercentageValue.Text);
|
||||
|
||||
foreach (var db in GlobalConfig.Connections)
|
||||
{
|
||||
db.CreatePrize(model);
|
||||
}
|
||||
GlobalConfig.Connection.CreatePrize(model);
|
||||
|
||||
placeNameValue.Text = "";
|
||||
placeNumberValue.Text = "";
|
||||
|
||||
Reference in New Issue
Block a user