Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

const int userId = 2757;
const int serviceId = 2;
const int permissionId = 3;
const int organizationId = 9999;
var newUserServicePermission = new UserServicePermission
{
PermissionId = permissionId,
UserId = userId,
ServiceId = serviceId,
OrganizationId = organization2Id
};
var userServicePermission = await _userServicePermissionManager.Add(newUserServicePermission);

Code Block
TODO