예제 #1
0
        /// <summary>
        /// Method to Insert List of UserRights
        /// </summary>
        /// <param name="argEn">List of UserRights Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool InsertUserRights(List <UserRightsEn> argEn)
        {
            bool flag;

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