Thanks for your help.
I solved my page deletion by using this code below and now the page dont exists anymore in the database tables :)
I solved my page deletion by using this code below and now the page dont exists anymore in the database tables :)
private void DeletePage(IPage page)
{
using (TransactionScope transactionScope = TransactionsFacade.CreateNewScope())
{
//cultures
List<CultureInfo> cultures = DataLocalizationFacade.ActiveLocalizationCultures.ToList();
cultures.Remove(page.DataSourceId.LocaleScope);
//page
page.DeletePageStructure();
ProcessControllerFacade.FullDelete(page);
//complete
transactionScope.Complete();
}
}