namespace Common.Helpers;
public static class EnumHelpers
{
///
/// Parse enum from string to enum type.
///
/// type of the enum
/// value to parse to enum
/// returns enum object with value
public static T ParseEnum(string value)
{
return (T)Enum.Parse(typeof(T), value, true);
}
}