Delete
bool Delete(string key)
Purpose: Deletes a file corresponding to the specified key.
Parameters:
key: A string that specifies the file path to be deleted.
Return Value: Returns true if the file deletion was successful, false otherwise.
public void Delete()
{
bool result = _dataPersistenceService.Delete("Key");
}
Last updated