Beispiel #1
0
        public ActionResult DeleteModel(int id)
        {
            var modelName      = this.ControllerContext.RouteData.Values["action"].ToString().Replace("Delete", "");
            var managementItem = IoCConfig.Invoke_EntityManagementServiceByName(modelName);

            //Không sửa
            return(managementItem.CheckAndDelete(id));
        }