Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="lstRtngParams"></param>
        /// <param name="usertypeCode"></param>
        /// <returns></returns>
        public bool InsertRatingParameters(List <ParametersModel> lstRtngParams, string usertypeCode)
        {
            bool   result      = false;
            string companyCode = null;
            string createdBy   = null;
            string updatedBy   = null;

            try
            {
                BL_ICE      objparams       = new BL_ICE();
                CurrentInfo _ObjCurrentInfo = new CurrentInfo();
                companyCode = _ObjCurrentInfo.GetCompanyCode();
                createdBy   = _ObjCurrentInfo.GetUserCode();
                updatedBy   = _ObjCurrentInfo.GetUserCode();
                result      = objparams.InsertRatingParameters(companyCode, lstRtngParams, usertypeCode, createdBy, updatedBy);
            }
            catch (Exception ex)
            {
                throw;
            }
            return(result);
        }