Example #1
0
        public static FacetFilterValue AsWebModel(this Data.FacetValue val)
        {
            var ret = new FacetFilterValue();

            ret.InjectFrom(val);
            return(ret);
        }
Example #2
0
 public static Tag AsWebModel(this FacetFilterValue facetValue, string field)
 {
     return(new Tag {
         Field = field, Label = facetValue.Label, Count = facetValue.Count, Value = facetValue.Value
     });
 }