v1.2.8
This commit is contained in:
@@ -334,6 +334,15 @@ namespace Saxonite.Net.Standard.Base.Bus
|
||||
return values.Find(item => item.Id.Equals(organisationId));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
/// <summary>
|
||||
/// Get the name of the first Organisation in list with the specified Id.
|
||||
/// </summary>
|
||||
public static String GetOrganisationName(this List<SaxOrganisation> values, SysId organisationId)
|
||||
{
|
||||
return values.Find(item => item.Id.Equals(organisationId))?.Name ?? "";
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user