public bool Post(FileChange change) { switch (change.Mode) { case "Cut": return(_fileTransfer.Cut(change)); case "Copy": return(_fileTransfer.Copy(change)); default: return(false); } }