21 lines
609 B
C#
21 lines
609 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.ServiceModel;
|
|||
|
using System.Text;
|
|||
|
using Weee.Models;
|
|||
|
|
|||
|
namespace Weee.WCFService
|
|||
|
{
|
|||
|
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IWCFProductService" in both code and config file together.
|
|||
|
[ServiceContract]
|
|||
|
public interface IWCFProductService
|
|||
|
{
|
|||
|
[OperationContract]
|
|||
|
IEnumerable<Product> GetProducts(string authId);
|
|||
|
[OperationContract]
|
|||
|
Product SaveProduct(Product toBeSave, string authId);
|
|||
|
}
|
|||
|
}
|