Exemple #1
0
    public async Task <IActionResult> Delete(string path, CancellationToken token)
    {
        DocumentId documentId = DocumentIdTools.FromUrlEncoding(path);
        bool       status     = await _directoryService.Delete(documentId, token);

        return(status ? Ok() : NotFound());
    }