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