Minhasapov R.H. LabWork01_Base #1

Closed
safgerd wants to merge 8 commits from LabWork01_Base into main
8 changed files with 4 additions and 4 deletions
Showing only changes of commit fdff71ec88 - Show all commits
AutomobilePlant
AutomobilePlant
AutomobilePlantContracts/BusinessLogicContracts
AutomobilePlantDataModels/Models
AutomobilePlantListImplements
Implements
Models

@ -86,6 +86,5 @@ namespace AutomobilePlant
DialogResult = DialogResult.Cancel;
Close();
}
}
}

@ -29,6 +29,7 @@ namespace AutomobilePlant
{
LoadData();
}
private void LoadData()
{
try

@ -110,6 +110,5 @@ namespace AutomobilePlant
{
LoadData();
}
}
}

@ -29,6 +29,7 @@ namespace AutomobilePlant
{
LoadData();
}
private void LoadData()
{
_logger.LogInformation("Загрузка заказов");

@ -16,6 +16,5 @@ namespace AutomobilePlantContracts.BusinessLogicContracts
bool Create(ComponentBindingModel model);
bool Update(ComponentBindingModel model);
bool Delete(ComponentBindingModel model);
}
}

@ -17,6 +17,5 @@ namespace AutomobilePlantDataModels.Models
OrderStatus Status { get; }
DateTime DateCreate { get; }
DateTime? DateImplement { get; }
}
}

@ -94,6 +94,7 @@ namespace AutomobilePlantListImplements.Implements
}
return null;
}
public OrderViewModel? Delete(OrderBindingModel model)
{
for (int i = 0; i < _source.Orders.Count; ++i)

@ -45,6 +45,7 @@ namespace AutomobilePlantListImplements.Models
Price = model.Price;
CarComponents = model.CarComponents;
}
public CarViewModel GetViewModel => new()
{
Id = Id,