demo20230512/WCFService/IWCFLCAservice.cs
2023-05-12 10:20:28 +08:00

29 lines
1.1 KiB
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 "IWCFLCAservice" in both code and config file together.
[ServiceContract]
public interface IWCFLCAService
{
[OperationContract]
IEnumerable<LCA> GetLCAs();
Weee.Models.ProductLCA getProductLCA(int id);
IEnumerable<ProductLCAReplyRequest> GetReceivedRequests();
void ProductLCAConfirmedToCompleted(int lcaId, InventoryStageData inventoryStageData);
void ProductLCANewToProcessing(int lcaId);
void ProductLCANewToCompleted(int lcaId);
void ProductLCAProcessingToWait(int lcaId);
void ProductLCARejectedToProcessing(int lcaId);
void ProductLCAWaitToConfirmed(int lcaId);
void ProductLCAWaitToRejected(int lcaId);
Weee.Models.ProductLCA SaveProductLCA(Weee.Models.ProductLCA toBeSave);
}
}