public IActionResult GetResidentsByTerm(string term) { var residents = _residentService.GetResidentsByTerm(term ?? string.Empty); return(Json(JsonResultData.Success(residents))); }