Add FullName to CustomerDto
This commit is contained in:
parent
5e2c30a4ec
commit
b0a99e139b
|
|
@ -10,6 +10,8 @@ public class CustomerDto : ModelDtoBase<Customer>, ISoftDeletedEntity
|
||||||
public string FirstName { get; set; }
|
public string FirstName { get; set; }
|
||||||
public string LastName { get; set; }
|
public string LastName { get; set; }
|
||||||
|
|
||||||
|
public string FullName => $"{LastName} {FirstName}";
|
||||||
|
|
||||||
public bool Deleted { get; set; }
|
public bool Deleted { get; set; }
|
||||||
|
|
||||||
public CustomerDto() :base()
|
public CustomerDto() :base()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue