using Muchinfo.MTPClient.Data.Model;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Muchinfo.MTPClient.IService
{
public interface IFavoriteService
{
///
/// 获取自选商品列表
///
/// The favorite identifier.
/// ObservableCollection{QuoteGoods}.
ObservableCollection GetMyFavoriteGoodses(uint favoriteId);
///
/// 添加商品到我的自选
///
/// The favorite identifier.
/// The goods.
void AddToMyFavorite(uint favoriteId, QuoteGoods goods);
///
/// 从自选删除
///
/// The favorite identifier.
/// The goods.
void RemoveFromMyFavorite(uint favoriteId, QuoteGoods goods);
///
/// 获取所属自选
///
/// The goods.
/// List{MyFavorite}.
List GetParentFavorites(QuoteGoods goods);
}
}