delete row & delete column & fix tables code in api base

This commit is contained in:
2023-10-02 17:34:56 +02:00
parent 549d284c54
commit 7ad077d0cf
3 changed files with 57 additions and 26 deletions

View File

@@ -44,5 +44,15 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.Tables
{
return Manager.MakeRequest<Column>(HttpMethod.Get, OCS_TABLES_COLUMN.FillParameters(columnId));
}
public Row? DeleteRow(long rowId)
{
return Manager.MakeRequest<Row>(HttpMethod.Delete, OCS_TABLES_ROW.FillParameters(rowId));
}
public Column? DeleteColumn(long columnId)
{
return Manager.MakeRequest<Column>(HttpMethod.Delete, OCS_TABLES_COLUMN.FillParameters(columnId));
}
}
}