/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.ServiceModel; using System.Collections.Generic; namespace Expenses.Service.Contracts { [ServiceContract] public interface IExpenseService { [OperationContract] void CreateExpense(ExpenseContract request); [OperationContract] IEnumerable<ExpenseContract> GetExpensesByName(string name); [OperationContract] void DeleteExpense(int id); } public interface IExpenseServiceChannel : IExpenseService, IClientChannel { } }
Comments
