Beispiel #1
0
        public IActionResult Detail(int ID)
        {
            var model = _invoiceDetailResposistory.GetByID(ID) ?? new InvoiceDetail();

            return(View(model));
        }
        public ActionResult <string> Detail(int ID)
        {
            var model = _invoiceDetailResposistory.GetByID(ID) ?? new InvoiceDetail();

            return(ObjectToJson(model));
        }