public static string ToParameterValue(this RepositoryTypes?type) { if (type == null) { return(null); } return(CustomEnumValueSerializer <RepositoryTypes> .ToJsonValue(type.Value)); }
public static string ToParameterValue(this UserSorts?sort) { if (sort == null) { return(null); } return(CustomEnumValueSerializer <UserSorts> .ToJsonValue(sort.Value)); }