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.ProductLCA { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IWCFMonthlyDataServce" in both code and config file together. [ServiceContract] public interface IWCFMonthlyDataServce { #region PowerUsage [OperationContract] IEnumerable SavePowerUsageSheet(IEnumerable toBeSave, string authId); [OperationContract] PowerUsage SavePowerUsageSheetItem(PowerUsage toBeSave, string authId); [OperationContract] void DeletePowerUsageSheet(int lcaId, string authId); [OperationContract] IEnumerable GetPowerUsageSheet(int lcaId, string authId); #endregion #region SteamUsage [OperationContract] IEnumerable SaveSteamUsageSheet(IEnumerable toBeSave, string authId); [OperationContract] SteamUsage SaveSteamUsageSheetItem(SteamUsage toBeSave, string authId); [OperationContract] void DeleteSteamUsageSheet(int lcaId, string authId); [OperationContract] IEnumerable GetSteamUsageSheet(int lcaId, string authId); #endregion #region WaterUsage [OperationContract] IEnumerable SaveWaterUsageSheet(IEnumerable toBeSave, string authId); [OperationContract] WaterUsage SaveWaterUsageSheetItem(WaterUsage toBeSave, string authId); [OperationContract] void DeleteWaterUsageSheet(int lcaId, string authId); [OperationContract] IEnumerable GetWaterUsageSheet(int lcaId, string authId); #endregion #region WorkHour [OperationContract] IEnumerable SaveWorkHourSheet(IEnumerable toBeSave, string authId); [OperationContract] WorkHour SaveWorkHourSheetItem(WorkHour toBeSave, string authId); [OperationContract] void DeleteWorkHourSheet(int lcaId, string authId); [OperationContract] IEnumerable GetWorkHourSheet(int lcaId, string authId); #endregion } }