public bool UpdateRole(dynamic obj) { int userId = obj.userId; string userName = obj.userName; int[] roleIds = obj.roleIds; UserRolesBLL bll = new UserRolesBLL(); return(bll.UpdateRole(userId, userName, roleIds)); }