lab 1 ready 100%
This commit is contained in:
parent
e8b8778e62
commit
b9b898380c
@ -82,8 +82,8 @@ namespace ProjectGSM.Forms
|
||||
priceNumeric.Value,
|
||||
winPriceNumeric.Value,
|
||||
verdictCheckBox.Checked,
|
||||
courtBox.SelectedIndex,
|
||||
clientBox.SelectedIndex,
|
||||
((Court)courtBox.SelectedItem).Id,
|
||||
((Client)clientBox.SelectedItem).Id,
|
||||
textBox1.Text);
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ namespace ProjectGSM.Forms
|
||||
{
|
||||
throw new Exception("Имеются незаполненные поля");
|
||||
}
|
||||
_statusHistoryRepository.CreateStatusHistory(StatusHistory.CreateEntity(caseBox.SelectedIndex, (Status)statusBox.SelectedIndex!, priceNumeric.Value, dateTimePicker1.Value));
|
||||
_statusHistoryRepository.CreateStatusHistory(StatusHistory.CreateEntity((((Case)caseBox.SelectedItem!)!).Id, (Status)statusBox.SelectedIndex!, priceNumeric.Value, dateTimePicker1.Value));
|
||||
Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
Reference in New Issue
Block a user