public void InsertUpdateBanner(SageBannerInfo obj)
        {
            try
            {
                List <KeyValuePair <string, object> > param = new List <KeyValuePair <string, object> >();
                param.Add(new KeyValuePair <string, object>("@BannerID", obj.BannerID));
                param.Add(new KeyValuePair <string, object>("@BannerImageName", obj.BannerImageName));
                param.Add(new KeyValuePair <string, object>("@BannerSloganTitle", obj.BannerSloganTitle));
                param.Add(new KeyValuePair <string, object>("@BannerSlogan", obj.BannerSlogan));
                param.Add(new KeyValuePair <string, object>("@LinkButtonName", obj.LinkButtonName));
                param.Add(new KeyValuePair <string, object>("@LinkUrl", obj.LinkUrl));
                param.Add(new KeyValuePair <string, object>("@PortalID", obj.PortalID));
                param.Add(new KeyValuePair <string, object>("@UserModuleID", obj.UserModuleID));
                param.Add(new KeyValuePair <string, object>("@Culture", obj.Culture));
                param.Add(new KeyValuePair <string, object>("@IsActive", obj.IsActive));
                param.Add(new KeyValuePair <string, object>("@AddedBy", obj.AddedBy));

                SQLHandler sagesql = new SQLHandler();
                sagesql.ExecuteNonQuery("[dbo].[usp_SageBannerAddUpdate]", param);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public void InsertUpdateBanner(SageBannerInfo obj)
        {
            SageBannerProvider objProvider = new SageBannerProvider();

            objProvider.InsertUpdateBanner(obj);
        }