예제 #1
0
        public ActionResult AddNewInvoiceItemForm()
        {
            var invoiceItem = new InvoiceItemsViewModel();

            ViewBag.ItemsList = _itemService.GetAllItems();
            ViewBag.UnitList  = _unitService.GetAllUnits();
            return(PartialView("_InvoiceItemFormPartial", invoiceItem));
        }
예제 #2
0
 public ActionResult AddNewInvoiceItem(InvoiceItemsViewModel model)
 {
     return(Json(new { }));
 }