using CoreWCF;

namespace Core.WcfProtocol
{
    /// <summary>
    /// CoreImagesService 接口
    /// </summary>
    [ServiceContract]
    public interface ICoreImagesService
    {
        /// <summary>
        /// 上传图片
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        [OperationContract]
        UploadImageReply UploadImage(UploadImageRequest req);

        /// <summary>
        /// 上传图片无返回结果
        /// </summary>
        /// <param name="req"></param>
        [OperationContract(IsOneWay = true)]
        void UploadImageOneWay(UploadImageRequest req);
    }
}
