Exemple #1
0
        /// <summary>
        /// To EDIT MODE OF PAYMENT
        /// </summary>
        /// <param name="ModeofPaymentBOObj"></param>
        /// <returns></returns>
        public string EDITMODEOFPAYMENT(ModeofPaymentBO ModeofPaymentBOObj)
        {
            ModeofPaymentDAL ModeofPaymentDALObj = new ModeofPaymentDAL();//Data pass -to Database Layer

            try
            {
                return(ModeofPaymentDALObj.EDITMODEOFPAYMENT(ModeofPaymentBOObj));
            }
            catch
            {
                throw;
            }
            finally
            {
                ModeofPaymentDALObj = null;
            }
        }
Exemple #2
0
        /// <summary>
        /// To Insert Mode of Payment
        /// </summary>
        /// <param name="ModeofPaymentBOObj"></param>
        /// <returns></returns>
        public string InsertModeofPayment(ModeofPaymentBO ModeofPaymentBOObj)
        {
            ModeofPaymentDAL ModeofPaymentDAL = new ModeofPaymentDAL(); //Data pass -to Database Layer

            try
            {
                return(ModeofPaymentDAL.InsertModeofPayment(ModeofPaymentBOObj));
            }
            catch
            {
                throw;
            }
            finally
            {
                ModeofPaymentDAL = null;
            }
        }
Exemple #3
0
        //Search the Singal Data by passing ID
        /// <summary>
        /// To Get Mode of PaymentID
        /// </summary>
        /// <param name="ModeofPaymentID"></param>
        /// <returns></returns>
        public ModeofPaymentBO GetModeofPaymentID(int ModeofPaymentID)
        {
            ModeofPaymentDAL ModeofPaymentDALObj = new ModeofPaymentDAL();

            return(ModeofPaymentDALObj.GetModeofPaymentID(ModeofPaymentID));
        }
Exemple #4
0
        /// <summary>
        /// To Delete Mode of Payment
        /// </summary>
        /// <param name="ModeofPaymentID"></param>
        /// <returns></returns>
        public string DeleteModeofPayment(int ModeofPaymentID)
        {
            ModeofPaymentDAL ModeofPaymentDALObj = new ModeofPaymentDAL();

            return(ModeofPaymentDALObj.DeleteModeofPayment(ModeofPaymentID));
        }
Exemple #5
0
        /// <summary>
        /// To Obsolete Mode of Payment
        /// </summary>
        /// <param name="ModeofPaymentID"></param>
        /// <param name="IsDeleted"></param>
        /// <returns></returns>
        public string ObsoleteModeofPayment(int ModeofPaymentID, string IsDeleted)
        {
            ModeofPaymentDAL ModeofPaymentDALObj = new ModeofPaymentDAL();

            return(ModeofPaymentDALObj.ObsoleteModeofPayment(ModeofPaymentID, IsDeleted));
        }
Exemple #6
0
        // serach the data from the Database Mst_Concern
        /// <summary>
        /// To Get Mode of Payment
        /// </summary>
        /// <returns></returns>
        public ModeofPaymentList GetModeofPayment()
        {
            ModeofPaymentDAL ModeofPaymentDALObj = new ModeofPaymentDAL();

            return(ModeofPaymentDALObj.GetModeofPayment());
        }