@Override @Timed public void deleteAssignment(Experiment experiment,User.ID userID,Context context,Application.Name appName,Assignment currentAssignment){
  deleteUserFromLookUp(experiment.getID(),userID,context);
  boolean countUp=false;
  assignmentsCountExecutor.execute(new AssignmentCountEnvelope(assignmentsRepository,experimentRepository,dbRepository,experiment,currentAssignment,countUp,eventLog,null,assignUserToExport,assignBucketCount));
  deleteAssignmentOld(experiment.getID(),userID,context,appName,currentAssignment.getBucketLabel());
  removeIndexUserToExperiment(userID,experiment.getID(),context,appName);
  removeIndexUserToBucket(userID,experiment.getID(),context,currentAssignment.getBucketLabel());
  removeIndexExperimentsToUser(userID,experiment.getID(),context,appName);
}

@ Override @ Timed public void deleteAssignment ( Experiment experiment , User . ID userID , Context context , Application . Name appName , Assignment currentAssignment ) { deleteUserFromLookUp ( experiment . getID ( ) , userID , context ) ; boolean countUp = false ; assignmentsCountExecutor . execute ( new AssignmentCountEnvelope ( assignmentsRepository , experimentRepository , dbRepository , experiment , currentAssignment , countUp , eventLog , null , assignUserToExport , assignBucketCount ) ) ; deleteAssignmentOld ( experiment . getID ( ) , userID , context , appName , currentAssignment . getBucketLabel ( ) ) ; removeIndexUserToExperiment ( userID , experiment . getID ( ) , context , appName ) ; removeIndexUserToBucket ( userID , experiment . getID ( ) , context , currentAssignment . getBucketLabel ( ) ) ; removeIndexExperimentsToUser ( userID , experiment . getID ( ) , context , appName ) ; }
deletes the existing assignment between a user and an experiment .
