public Task <Result> MoveFiles(string destination, List <string> filePaths) { if (destination == null) { return(Task.FromResult(Result.Failure(Constants.FileErrorKey, "Invalid destination."))); } if (filePaths == null) { return(Task.FromResult(Result.Failure(Constants.MissingFileErrorKey, "No file."))); } return(Task.FromResult(_factorioServerManager.MoveFiles(destination, filePaths))); }