Compare commits
1
Commits
f846611429
...
f8c0cfe09d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8c0cfe09d |
@@ -39,5 +39,20 @@ namespace xModels.Extensions
|
||||
{
|
||||
return source.Select(i => i.Item);
|
||||
}
|
||||
|
||||
public static string GetFullname(this XPersonDto source)
|
||||
{
|
||||
//
|
||||
var result = string.Empty;
|
||||
|
||||
//
|
||||
if (!source.IsNullOrDefault())
|
||||
{
|
||||
result = $"{source.Firstname} {source.Lastname}";
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user