public IEnumerable <dynamic> GetAllResorts() { var res = _positionRepo.GetAllResorts(); return(res.Select(jobTitle => new { Value = jobTitle, Label = jobTitle }).ToList()); }
public IEnumerable <dynamic> GetAllResorts() { var res = _positionRepo.GetAllResorts(); return(res.Select(jobTitle => new { Value = jobTitle, Label = jobTitle }).ToList()); }