public JsonResult GetPeopleFromAffiliation(Occupations occupation) { return(Json( PeopleStore.Store.Where(people => people.occupation.ToString() == occupation.ToString()) )); }
public JsonResult GetPeopleFromAffiliation(Occupations occupation) { return(Json( PeopleStore.Store.Where(people => people.occupation.ToString() == occupation.ToString()) )); }