This commit is contained in:
2026-09-28 16:34:52 +03:30
parent f846611429
commit f8c0cfe09d
+15
View File
@@ -39,5 +39,20 @@ namespace xModels.Extensions
{ {
return source.Select(i => i.Item); 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;
}
} }
} }