Esempio n. 1
0
        public IActionResult OnPostCreateDetail()
        {
            try
            {
                var InsertedCount = _salesOrderDetailService.Create(SalesOrderDetail);
            }
            catch (Exception e)
            {
                return(StatusCode(500, e.Message));
            }

            return(RedirectToPage("./Edit", new { id = SalesOrderDetail.SalesOrderID }));
        }