refactor: use interpolated string for FullName property in CustomerQueryModel for improved readability
This commit is contained in:
@@ -32,5 +32,5 @@ public class CustomerQueryModel : IQueryModel<Guid>
|
||||
public string Email { get; private init; }
|
||||
public DateTime DateOfBirth { get; private init; }
|
||||
|
||||
public string FullName => (FirstName + " " + LastName).Trim();
|
||||
public string FullName => $"{FirstName} {LastName}".Trim();
|
||||
}
|
||||
Reference in New Issue
Block a user