public async Task <List <InvoiceDTO> > All() { var items = await _invoicesRepository.All(); return(_mapper.Map <List <InvoiceDTO> >(items)); }