Ejemplo n.º 1
0
        public JsonResult DcrDoConfirm(PublishSalesSearchModel model)
        {
            decimal?CONFIRM_USER_NO  = Session["sess_USER_NO"] as decimal?;
            decimal?CONFIRM_LOGON_NO = Session["sess_LOGON_NO"] as decimal?;

            //db.DCR_PUB_DO_PUBLISH(model.User_list,USER_NO,LOGON_NO,model.Search_Date_From,model.Search_Date_To);

            db.DCR_PUB_DO_CONFIRM(model.user_not_confirmed, model.PUBLISH_NO, model.IS_CONFIRM, CONFIRM_USER_NO,
                                  CONFIRM_LOGON_NO, model.Search_Date_From, model.Search_Date_To, model.Comments);


            return(Json(new
            {
                message = "confirmed successfully"
            }));
        }