public Invoice Invoice(Guid id) { return(_repository.GetAllInvoices().Single(q => q.ReferenceNumber == id)); }