예제 #1
0
        /// <summary>
        /// To Update Option Groups
        /// </summary>
        /// <param name="objOptionGroupBO"></param>
        /// <returns></returns>
        public string UpdateOptionGroups(OptionGroupBO objOptionGroupBO)
        {
            OptionGroupDAL objOptionGroupDAL = new OptionGroupDAL(); //Data pass -to Database Layer

            try
            {
                return(objOptionGroupDAL.UpdateOptionGroups(objOptionGroupBO));
            }
            catch
            {
                throw;
            }
            finally
            {
                objOptionGroupDAL = null;
            }
        }
예제 #2
0
        public OptionGroupList GetOptionGroup()
        {
            OptionGroupDAL objOptionGroupDAL = new OptionGroupDAL();

            return(objOptionGroupDAL.GetOptionGroup());
        }
예제 #3
0
        /// <summary>
        /// To Obsolete Option Group
        /// </summary>
        /// <param name="OptionGroupID"></param>
        /// <param name="IsDeleted"></param>
        /// <returns></returns>
        public string ObsoleteOptionGroup(int OptionGroupID, string IsDeleted)
        {
            OptionGroupDAL objOptionGroupDAL = new OptionGroupDAL();

            return(objOptionGroupDAL.ObsoleteOptionGroup(OptionGroupID, IsDeleted));
        }
예제 #4
0
        /// <summary>
        /// To Delete Option Group
        /// </summary>
        /// <param name="OptionGroupID"></param>
        /// <returns></returns>
        public string DeleteOptionGroup(int OptionGroupID)
        {
            OptionGroupDAL objOptionGroupDAL = new OptionGroupDAL();

            return(objOptionGroupDAL.DeleteOptionGroup(OptionGroupID));
        }
예제 #5
0
        /// <summary>
        /// To Get Option Group By Id
        /// </summary>
        /// <param name="OptionGroupID"></param>
        /// <returns></returns>
        public OptionGroupBO GetOptionGroupById(int OptionGroupID)
        {
            OptionGroupDAL objOptionGroupDAL = new OptionGroupDAL();

            return(objOptionGroupDAL.GetOptionGroupById(OptionGroupID));
        }