Готовая 2 лаба
This commit is contained in:
parent
5988b92709
commit
43084d7f8a
@ -25,11 +25,10 @@ namespace TypographyFileImplement.Implements
|
||||
private OrderViewModel DefinePrintedName(OrderViewModel model)
|
||||
{
|
||||
string? printedName = source.Printeds.FirstOrDefault(x => model.PrintedId == x.Id)?.PrintedName;
|
||||
if (printedName == null)
|
||||
if (printedName != null)
|
||||
{
|
||||
return null;
|
||||
model.PrintedName = printedName;
|
||||
}
|
||||
model.PrintedName = printedName;
|
||||
return model;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user