Пример #1
0
        /// <summary>
        /// Method to Delete Kolej
        /// </summary>
        /// <param name="argEn">Kolej Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Delete(KolejEn argEn)
        {
            bool flag;

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