Пример #1
0
        /// <summary>
        /// This Method is used to Select data
        /// </summary>
        /// <param name="objCategory">Action</param>
        /// <returns>1 for success and -1 for fail</returns>
        public string RecordSelect(PropSubcategory objProperty, string UserName)
        {
            DllSubCategory objDal = new DllSubCategory();

            try
            {
                return(objDal.SelectSubCategory(objProperty, UserName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Пример #2
0
        public string CategoryWiseSubCategoryofAssociate(PropSubcategory objProperty, string UserName)
        {
            DllSubCategory objDal = new DllSubCategory();

            try
            {
                return(objDal.CategoryWiseSubCategoryofAssociate(objProperty, UserName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Пример #3
0
        /// <summary>
        /// This Method is used to Select data
        /// </summary>
        /// <param name="objCategory">Action</param>
        /// <returns>1 for success and -1 for fail</returns>
        public string GetSubCategories(PropSubcategory objProperty)
        {
            DllSubCategory objDal = new DllSubCategory();

            try
            {
                return(objDal.SubCategories(objProperty));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Пример #4
0
        public string AssociateCategoryExistsOrNot(string UserName)
        {
            DllSubCategory objDal = new DllSubCategory();

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