public ActionResult <List <OptionModel <int> > > DistributorTypes() { return(Clusters.GetDistributorTypes() .Select(type => new OptionModel <int> { Title = type.Key, Value = type.Value, }) .ToList()); }
public ActionResult <List <OptionModel <int> > > DistributorTypes() { return(Clusters.GetDistributorTypes() .Select(type => new OptionModel <int> { Title = type.Key, Value = type.Value, }) .ToList()); }