public ActionResult DynamicDDLWithDynamicJQueryFunction() { DynamicDDLViewModel model = new DynamicDDLViewModel(); model.Countries = DB.Countries.ToList(); //model.States = DB.States.ToList(); //model.Cities = DB.Cities.ToList(); return(View(model)); }
public ActionResult DynamicDDL(DynamicDDLViewModel model) { model.Countries = DB.Countries.ToList(); return(View(model)); }