fix Service property in Contract entity
This commit is contained in:
parent
4659147c9d
commit
a2123b8840
@ -32,7 +32,7 @@ public class Contract
|
|||||||
public int PaymentAmount { get; private set; }
|
public int PaymentAmount { get; private set; }
|
||||||
|
|
||||||
[DisplayName("Услуги")]
|
[DisplayName("Услуги")]
|
||||||
public string Service => Services != null ? string.Join(", ", Services) : string.Empty;
|
public string Service => Services != null ? string.Join(", ", Services.Select(x => $"{x.Description}")) : string.Empty;
|
||||||
|
|
||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public IEnumerable<Service> Services { get; private set; } = [];
|
public IEnumerable<Service> Services { get; private set; } = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user