diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-23 20:09:43 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-23 20:09:43 -0400 |
| commit | 78ba88bc7e923bd48fb694e11d1ef3a608f9cb01 (patch) | |
| tree | b5383c7d1640a79e83390845d0d0faca3ce33160 /MediaBrowser.Model/Social/ISharingManager.cs | |
| parent | 2af3ec43d52d44ff7b456de35e45b12413edcf9d (diff) | |
move classes to model
Diffstat (limited to 'MediaBrowser.Model/Social/ISharingManager.cs')
| -rw-r--r-- | MediaBrowser.Model/Social/ISharingManager.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Social/ISharingManager.cs b/MediaBrowser.Model/Social/ISharingManager.cs new file mode 100644 index 000000000..94c22baba --- /dev/null +++ b/MediaBrowser.Model/Social/ISharingManager.cs @@ -0,0 +1,27 @@ +using System.Threading.Tasks; + +namespace MediaBrowser.Model.Social +{ + public interface ISharingManager + { + /// <summary> + /// Creates the share. + /// </summary> + /// <param name="itemId">The item identifier.</param> + /// <param name="userId">The user identifier.</param> + /// <returns>Task<SocialShareInfo>.</returns> + Task<SocialShareInfo> CreateShare(string itemId, string userId); + /// <summary> + /// Gets the share information. + /// </summary> + /// <param name="id">The identifier.</param> + /// <returns>SocialShareInfo.</returns> + SocialShareInfo GetShareInfo(string id); + /// <summary> + /// Deletes the share. + /// </summary> + /// <param name="id">The identifier.</param> + /// <returns>Task.</returns> + Task DeleteShare(string id); + } +} |
