Example #1
0
 public static bool AddEdit(Config_BannerType bannerType)
 {
     if (bannerType.CBTypeId > 0)
     {
         return(Config_BannerTypeDAL.Instance().UpdateBannerType(bannerType));
     }
     else
     {
         return(Config_BannerTypeDAL.Instance().AddBannerType(bannerType));
     }
 }
Example #2
0
        public JsonResult AddEdit(Config_BannerType param)
        {
            var result = Config_BannerTypeBLL.AddEdit(param);

            return(this.JObjectResult(result, null));
        }