Example #1
0
        /// <summary>
        /// Method to Update ChequeDetails
        /// </summary>
        /// <param name="argEn">ChequeDetails Entity is the Input.</param>
        /// <returns>Returns a Boolean</returns>
        public bool Update(ChequeDetailsEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    ChequeDetailsDAL loDs = new ChequeDetailsDAL();
                    flag = loDs.Update(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }