move classes to model

This commit is contained in:
Luke Pulverenti
2016-10-23 20:09:43 -04:00
parent 2af3ec43d5
commit 78ba88bc7e
18 changed files with 20 additions and 35 deletions

View File

@@ -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&lt;SocialShareInfo&gt;.</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);
}
}