public static SelectList ToSelectList(this SelectListSerializer serializer)
 {
     return(SelectListSerializer.ToSelectList(serializer));
 }
 public static SelectList ToSelectList(SelectListSerializer serializer)
 {
     return(new SelectList(serializer.Items, serializer.DataValueField, serializer.DataTextField, serializer.SelectedValue));
 }