Пример #1
0
        protected void lnkDeleteAll_Click(object sender, EventArgs e)
        {
            var logic    = new DeleteOperateLogic();
            var response = Invoke(logic, DeleteAllRequestModel);

            if (HasError)
            {
                return;
            }
            Refresh();
        }
Пример #2
0
        protected void lnkDelete_Command(object sender, CommandEventArgs e)
        {
            Session["ItemCd"] = e.CommandArgument;
            var deleteLogic   = new DeleteOperateLogic();
            var responseModel = Invoke(deleteLogic, DeleteRequestModel);

            if (HasError)
            {
                return;
            }
            Session["Cart"] = responseModel.Cart;
            Refresh();
        }
Пример #3
0
        protected void lnkDelete_Command(object sender, CommandEventArgs e)
        {
            var args = Convert.ToString(e.CommandArgument).Split(';');

            Session["FileId"] = args[0];
            Session["FileNo"] = args[1];
            var logic    = new DeleteOperateLogic();
            var response = Invoke(logic, DeleteRequestModel);

            if (HasError)
            {
                return;
            }
            Refresh();
        }
Пример #4
0
 protected void lnkDelete_Command(object sender, CommandEventArgs e)
 {
     Session["ItemCd"] = e.CommandArgument;
     var deleteLogic = new DeleteOperateLogic();
     var responseModel = Invoke(deleteLogic, DeleteRequestModel);
     if (HasError) return;
     Session["Cart"] = responseModel.Cart;
     Refresh();
 }
Пример #5
0
 protected void lnkDelete_Command(object sender, CommandEventArgs e)
 {
     var args = Convert.ToString(e.CommandArgument).Split(';');
     Session["FileId"] = args[0];
     Session["FileNo"] = args[1];
     var logic = new DeleteOperateLogic();
     var response = Invoke(logic, DeleteRequestModel);
     if (HasError) return;
     Refresh();
 }
Пример #6
0
 protected void lnkDeleteAll_Click(object sender, EventArgs e)
 {
     var logic = new DeleteOperateLogic();
     var response = Invoke(logic, DeleteAllRequestModel);
     if (HasError) return;
     Refresh();
 }