public JsonResult GetFlatPartList(int buildingId) { var model = new AddressModel(); List <FlatPart> flatPartList = model.GetFlatPartList(buildingId); return(Json(flatPartList, JsonRequestBehavior.AllowGet)); }
public JsonResult GetFlatPartList(int buildingId) { var model = new AddressModel(); List <FlatPart> flatPartList = model.GetFlatPartList(buildingId); return(Json(flatPartList, JsonRequestBehavior.AllowGet)); }