public IActionResult GetBranchList(string arearId = "") { var userTypes = rMAssetManager.GetBranchList(arearId, Session); if (userTypes != null && userTypes.Any()) { var selectList = userTypes.Select(x => new SelectListItem() { Text = x.BRANCH_NAME, Value = x.BRANCH_CODE }); return(Json(selectList)); } return(Json(null)); }