public MethodResponse <ErrorCode> AddUserToGroup(string lookupID, Guid groupId, Guid tenantId) { MethodResponse <ErrorCode> response = new MethodResponse <ErrorCode>(); try { UserPersistence.AddUserToGroup(lookupID, groupId, tenantId); response.Result = ErrorCode.Success; } catch (Exception ex) { EventLog.Error(ex); response.AddError(ex, 0); response.Result = ErrorCode.NoJoy; } return(response); }