public static int AddSiteLink(AddSiteLinkRequest request) { Hashtable ht = new Hashtable(); BuildSiteLinkRequest(request, ht); return(Convert.ToInt32(DataSources.Default.ExecuteScalar("AddSiteLink", null, null, ht))); }
public static int AddSiteLink(AddSiteLinkRequest request) { return(ConfigDal.AddSiteLink(request)); }
private static void BuildSiteLinkRequest(AddSiteLinkRequest request, Hashtable ht) { ht.Add("ChannelId", request.ChannelId); ht.Add("LinkUrl", request.LinkUrl); ht.Add("Name", request.Name); }
public HttpResponseMessage AddSiteLink(AddSiteLinkRequest request) { var response = ConfigLogic.AddSiteLink(request); return(ApiHelper.CreateHttpResponseMessage(response)); }