public InvoiceResponse(IInvoiceEntity entity, string linkFormat) { Date = entity.DueDate; InvoiceId = entity.InvoiceId; InvoiceNumber = entity.InvoiceNumber; GenerateLinks(linkFormat); }
public InvoiceDetailResponse(IInvoiceEntity entity, string linkFormat) : base(entity, linkFormat) { Client = entity.ClientName; ClientEmail = entity.ClientEmail; Amount = entity.Amount; Currency = entity.Currency; Label = entity.Label; }