deleteAppVariant(mPropertyBag) {
			if (!mPropertyBag.layer) {
				return Promise.reject("Layer must be provided");
			}
			mPropertyBag.id = ManifestUtils.getFlexReferenceForSelector(mPropertyBag.selector);

			return SaveAs.deleteAppVariant(mPropertyBag);
		}
Deletes the app variant from the backend
@param {object} mPropertyBag - Object with parameters as properties
@param {sap.ui.fl.Selector} mPropertyBag.selector - Selector
@param {sap.ui.fl.Layer} mPropertyBag.layer - Connectors are now determined based on the layer - Smart Business must pass the layer
@returns {Promise} Promise that resolves with the app variant deletion response

@private
@ui5-restricted