public void Execute(ReadFileCommand <byte[]> command) { command.Result = file.ReadAllBytes(command.FilePath); }
public void Execute(ReadKeyFromFileCommand readKeyCommand) { readKeyCommand.FileContent = file.ReadAllBytes(readKeyCommand.FilePath); }