// GET: InvoiceItems/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            var invoiceItem = _repository.GetInvoiceItem(id);

            if (invoiceItem == null)
            {
                return(HttpNotFound());
            }

            DeleteInvoiceItemVm invoiceItemVm = new DeleteInvoiceItemVm()
            {
                Name     = invoiceItem.Name,
                Price    = invoiceItem.Price,
                Quantity = invoiceItem.Quantity
            };

            return(View(invoiceItemVm));
        }