示例#1
0
        /// <summary>
        /// This Method is used to Delete data
        /// </summary>
        /// <param name="objCountry">ID and Action</param>
        /// <returns>1 for success and -1 for fail</returns>

        public string RecordDelete(PropCountry objCountry, string UserName)
        {
            Dllcountry objDal = new Dllcountry();

            try
            {
                return(objDal.Deletecountry(objCountry, UserName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }