Exemplo n.º 1
0
 public ActionResult GetByInvoiceId(Guid invoiceId)
 {
     try
     {
         var invoiceItemList = _invoiceItemService.GetByInvoiceId(invoiceId);
         var response        = _invoiceItemMapper.Map(invoiceItemList);
         return(Ok(response));
     }
     catch (Exception ex)
     {
         return(new UnknownErrorResult(ex, base._errorEnabled));
     }
 }