public ActionResult GetRegions(string countryId) { RegisterDropDownListVM model = new RegisterDropDownListVM("Регион"); model.AddItem("Пловдив", new Guid("6db90c57a1a9427badb5025e23ecf740")); model.AddItem("София", new Guid("09596a7c4d2c40219795291062af527c")); return(PartialView("_PartialRegisterDropDownList", model)); }
public ActionResult GetCities(string regionId) { RegisterDropDownListVM model = new RegisterDropDownListVM("Град"); model.AddItem("Пловдив", new Guid("600cbfa38cb04217b118d34580bbebf6")); model.AddItem("София", new Guid("c29d966a5fda4f7197dc2d6f25875ca0")); model.AddItem("Перник", new Guid("5619cc53db5e451684baf93ee2191a89")); return(PartialView("_PartialRegisterDropDownList", model)); }