public virtual IActionResult DeleteFolder([FromRoute] string path) { if (string.IsNullOrWhiteSpace(path)) { return(BadRequest("Cannot delete root directory")); } _fileSystemService.DeleteFolder(path); return(Ok()); }
public virtual IActionResult DeleteFolder([FromRoute] string path) { if (string.IsNullOrWhiteSpace(path)) { return(BadRequest("Cannot delete root directory")); } _fileSystemService.DeleteFolder(path); return(Ok()); }