public async Task<bool> AddUserToRole( int roleId, Guid roleGuid, int userId, Guid userGuid ) { return await dbRoles.AddUser(roleId, userId, roleGuid, userGuid); }
public async Task <bool> AddUserToRole( int roleId, Guid roleGuid, int userId, Guid userGuid, CancellationToken cancellationToken = default(CancellationToken) ) { cancellationToken.ThrowIfCancellationRequested(); return(await dbRoles.AddUser(roleId, userId, roleGuid, userGuid)); }