PIbd-22. Safiulova K.N. LabWork_03_hard #15

Closed
safiulova.k wants to merge 11 commits from LabWork_03_hard into LabWork_02_hard
Showing only changes of commit 4fd0b3c72c - Show all commits

View File

@ -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("Ошибка при сохранении. Дополнительная информация в логах.");