public ActionResult CreateEditUserRoles(RoleModel roModel) { if (ModelState.IsValid) { var result = _iSetupService.CreateEditUserRoles(roModel); return(Json(result, JsonRequestBehavior.AllowGet)); } else { return(Json(rModel, JsonRequestBehavior.AllowGet)); } }