public async Task <List <Paper> > Copy(Paper paper, int count) { var array = await _scaner.Scan(paper); var response = new List <Paper>(); for (int i = 0; i < count; i++) { response.Add(await _printer.Print(array)); } return(response); }
public void Scan(Document d) { scaner.Scan(d); }
public async Task <byte[]> Scan(Paper paper) { return(await _scaner.Scan(paper)); }