Exemplo n.º 1
0
        public ActionResult DeleteConfirmed(Guid id)
        {
            #region 呼叫服務層

            try
            {
                _billingSvc.DeleteById(id);
                return(RedirectToAction("Index"));
            }
            catch (Exception ex)
            {
                ModelState.AddModelError(string.Empty, ex.Message);
                return(View());
            }

            #endregion
        }