diff --git a/Connect.UserAccess/Services/UserAccessController.cs b/Connect.UserAccess/Services/UserAccessController.cs index cb8987c..26a40e9 100644 --- a/Connect.UserAccess/Services/UserAccessController.cs +++ b/Connect.UserAccess/Services/UserAccessController.cs @@ -50,7 +50,7 @@ public HttpResponseMessage UserRole(SetUserRoleDTO data) } else { - UserRepository.Instance.DeleteUserRole(data.userId, data.userId); + UserRepository.Instance.DeleteUserRole(data.userId, data.roleId); } return Request.CreateResponse(HttpStatusCode.OK, UserRepository.Instance.GetRoles(PortalId, data.userId, data.roleGroupId)); }