/// <summary> /// The run once. /// </summary> public override void RunOnce() { try { // attempt to run the sync code... AspNetRolesHelper.SyncAllMembershipUsers((int)this.Data); } catch (Exception x) { this.Logger.Error(x, $"Error In {TaskName} Task"); } }