public void SwapVariationPositions(VariationModel model1, VariationModel model2)
 {
     Database.SwapVariationPositions(model1, model2);
     Database.SaveUpdate("SWAP_VARIATION_POSITIONS," + model1.Id + "," + model1.Position + "," + model2.Id + "," + model2.Position);
 }
 public void DeleteVariation(VariationModel model)
 {
     Database.DeleteVariation(model);
 }