using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gs.Toolbox { public static class UtilityHelper { public static Guid? GetGuid(string? str) { if (string.IsNullOrEmpty(str)) return null; return Guid.Parse(str); } } }