PIbd-22. Safiulova K.N. LabWork_03_hard #15
@ -119,7 +119,7 @@ namespace AircraftPlantView
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void buttonOrderReady_Click(object sender, EventArgs e)
|
||||
private void ButtonOrderReady_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dataGridView.SelectedRows.Count == 1)
|
||||
{
|
||||
@ -127,7 +127,7 @@ namespace AircraftPlantView
|
||||
_logger.LogInformation("Заказ №{id}. Меняется статус на 'Готов'", id);
|
||||
try
|
||||
{
|
||||
var operationResult = _logic.DeliveryOrder(new OrderBindingModel { Id = id });
|
||||
var operationResult = _orderLogic.DeliveryOrder(new OrderBindingModel { Id = id });
|
||||
if (!operationResult)
|
||||
{
|
||||
throw new Exception("Ошибка при сохранении. Дополнительная информация в логах.");
|
||||
|
Loading…
Reference in New Issue
Block a user