public void Insert(Guid CtyId, string CmpName, string CmpRedirectURL, string CmpStyleSheetPath, string CmpLogoPath) { HitblCampaignsCmp item = new HitblCampaignsCmp(); item.CtyId = CtyId; item.CmpName = CmpName; item.CmpRedirectURL = CmpRedirectURL; item.CmpStyleSheetPath = CmpStyleSheetPath; item.CmpLogoPath = CmpLogoPath; item.Save(UserName); }
public void Update(Guid CtyId, string CmpName, string CmpRedirectURL, string CmpStyleSheetPath, string CmpLogoPath) { HitblCampaignsCmp item = new HitblCampaignsCmp(); item.MarkOld(); item.IsLoaded = true; item.CtyId = CtyId; item.CmpName = CmpName; item.CmpRedirectURL = CmpRedirectURL; item.CmpStyleSheetPath = CmpStyleSheetPath; item.CmpLogoPath = CmpLogoPath; item.Save(UserName); }
public bool Destroy(object CtyId) { return(HitblCampaignsCmp.Destroy(CtyId) == 1); }
public bool Delete(object CtyId) { return(HitblCampaignsCmp.Delete(CtyId) == 1); }