public InvoiceDto Delete(IObjectIdentifier <ulong> id)
        {
            var invoice = _repository.FindById(id);

            return(InvoiceDto.FromDomain(_repository.Delete(invoice)));
        }
 public InvoiceDto GetById(IObjectIdentifier <ulong> id) => InvoiceDto.FromDomain(_repository.FindById(id));