コード例 #1
0
        public IActionResult Upsert()
        {
            int status;

            if (ModelState.IsValid)
            {
                status = _CustomerTypeService.SaveCustomerType(CustomerType);
                return(RedirectToAction("ListCustomerType"));
            }
            return(View("Upsert"));
        }