public Task <bool> DeleteFileSystem(OmvFilesystems filesystem) { var request = NewRequest("delete"); request.Params = new { id = filesystem.Uuid }; var result = RunCmd <bool>(request); return(result); }
public DeleteFileSystemBackgroundRequest(OmvFilesystems filesystem) : base(RequestString + $"\"{{\\\"id\\\":\\\"{filesystem.Uuid}\\\"}}\"") { }
public Task <bool> MountFileSystem(OmvFilesystems filesystem) { return(_omvFileSystemMgmtClient.MountFileSystem(filesystem)); }
public Task <bool> DeleteFileSystem(OmvFilesystems filesystem) { return(_omvFileSystemMgmtClient.DeleteFileSystem(filesystem)); }
public async Task <bool> MountFileSystem(OmvFilesystems filesystem) { var obj = await RunCmd <object>(new MountFileSystemBackgroundRequest(filesystem)); return(obj != null); }