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