Последние фиксы

This commit is contained in:
dasha 2023-02-12 12:27:26 +04:00
parent 9af0c201fb
commit 218ba80bf6
2 changed files with 0 additions and 10 deletions

View File

@ -86,10 +86,6 @@ namespace SushiBarBusinessLogic.BusinessLogics
return false;
}
model.Status = newStatus;
model.SushiId = viewModel.SushiId;
model.Count = viewModel.Count;
model.Sum = viewModel.Sum;
model.DateCreate = viewModel.DateCreate;
if (model.Status == OrderStatus.Выдан) model.DateImplement = DateTime.Now;
else
{

View File

@ -37,13 +37,7 @@ namespace SushiBarListImplement.Models
{
return;
}
SushiId = model.SushiId;
Count = model.Count;
Sum = model.Sum;
Status = model.Status;
DateCreate = model.DateCreate;
DateImplement = model.DateImplement;
Id = model.Id;
}
public OrderViewModel GetViewModel => new()
{