public JsonResult GetWardsByDistrictId(int districtId) { var wards = _wardRepository.GetMany(x => !x.IsDeleted && x.DistrictId == districtId) .OrderBy(x => x.Name) .ToList(); return(Json(new { IsSuccess = true, Wards = wards, })); }