public void task_delete(SingleTask id) { Thread t = new Thread(() => datalayer.task_delete(Int32.Parse(id.id))); threadqueue.Enqueue(t); Thread t2 = new Thread(() => ftpsc.deletefile(id.folder)); threadqueue.Enqueue(t2); }
public bool deletefile(string folder) { return(ftpsc.deletefile(folder)); }