-
-
Save icebreaker/cfe923f6f7b14cd220226ae1e3869984 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Caching; | |
using Sitecore.Caching.Generics; | |
using Sitecore.Configuration; | |
using Sitecore.Diagnostics; | |
using Sitecore.Sites; | |
using System; | |
using System.Collections; | |
namespace MyApp.Publishing | |
{ | |
/// <summary> | |
/// Calls an API method hosted in MyExternalApp. | |
/// </summary> | |
public class APICaller | |
{ | |
public APICaller() | |
{ | |
} | |
/// <summary> | |
/// Calls the API method. | |
/// </summary> | |
/// <param name="sender">The sender.</param> | |
/// <param name="args">The arguments.</param> | |
public void CallAPIMethod(object sender, EventArgs args) | |
{ | |
// your code to call the API method goes here | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment