コード例 #1
0
        public ActionResult AddAction(int BR_ID, string Message, string Type)
        {
            ActionTaken At = new ActionTaken();

            string custid = Session["Cust_ID"].ToString();

            if (Message != null)
            {
                Session["BirthRegister_ID"] = BR_ID;
                BirthProcessAction Bprocess = new BirthProcessAction();

                #region Show all data of Birth/Death Process
                At.Showall = Bprocess.GetDataofparticularprocess(BR_ID);
                #endregion

                #region Showall comments During verification
                At.ShowAllComments = Bprocess.GetAllCommentsdata(BR_ID);
                #endregion

                #region show all files loaded in Sql
                At.ShowallMessage = Bprocess.FileLoadMessage(Message);
                #endregion

                #region all Recomend/ clarification Comments
                At.Allrecomendedvarification = Bprocess.AddrecomendVerification();
                #endregion

                #region Appeal doc
                At.Appdoc = Bprocess.ShowAppealdate(BR_ID.ToString());


                #endregion

                At.BnDType = Type;
                return(View(At));
            }
            else
            {
                Session["BirthRegister_ID"] = BR_ID;
                BirthProcessAction Bprocess = new BirthProcessAction();
                At.Showall                   = Bprocess.GetDataofparticularprocess(BR_ID);
                At.ShowAllComments           = Bprocess.GetAllCommentsdata(BR_ID);
                At.Allrecomendedvarification = Bprocess.AddrecomendVerification();
                string ProcessNo = Type + "_" + BR_ID;

                At.viewIdentityDocument = Bprocess.ShowIdentityDocumentList(BR_ID.ToString());

                At.viewBnDDocument = Bprocess.ShowBnDDocumentList_1(ProcessNo);

                At.RoleName = Session["RoleDesc"].ToString();
                #region Appeal doc
                At.Appdoc = Bprocess.ShowAppealdate(ProcessNo);


                #endregion
                return(View(At));
            }
        }
コード例 #2
0
        public ActionResult PaymentAddAction(int BR_ID, string Message, string Type)
        {
            ActionTaken At = new ActionTaken();

            if (Message != null)
            {
                Session["BirthRegister_ID"] = BR_ID;
                BirthProcessAction Bprocess = new BirthProcessAction();
                At.Showall         = Bprocess.GetDataofparticularprocess(BR_ID);
                At.ShowAllComments = Bprocess.GetAllCommentsdata(BR_ID);
                At.ShowallMessage  = Bprocess.FileLoadMessage(Message);
                return(View(At));
            }
            else
            {
                Session["BirthRegister_ID"] = BR_ID;
                BirthProcessAction Bprocess = new BirthProcessAction();
                At.Showall         = Bprocess.GetDataofparticularprocess(BR_ID);
                At.ShowAllComments = Bprocess.GetAllCommentsdata(BR_ID);
                At.BnDType         = Type;
                return(View(At));
            }
        }