public async Task <IActionResult> Delete(int id)
        {
            FileModel file = await _db.Files.FirstOrDefaultAsync(x => x.Id == id);

            if (file != null)
            {
                _db.DeleteFile(file);

                await _db.SaveChangesAsync();

                return(RedirectToAction("OpenFolder", "FileSystem", new { id = file.FolderId }));
            }
            return(NotFound());
        }