-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathIWcfService.cs
25 lines (20 loc) · 903 Bytes
/
IWcfService.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) Alexander Zabluda. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
namespace InfoCarrierSample
{
using System.ServiceModel;
using System.Threading.Tasks;
using InfoCarrier.Core.Common;
[ServiceContract]
public interface IWcfService
{
[OperationContract]
QueryDataResult ProcessQueryDataRequest(QueryDataRequest request);
[OperationContract(Name = nameof(ProcessQueryDataRequestAsync))]
Task<QueryDataResult> ProcessQueryDataRequestAsync(QueryDataRequest request);
[OperationContract]
SaveChangesResult ProcessSaveChangesRequest(SaveChangesRequest request);
[OperationContract(Name = nameof(ProcessSaveChangesRequestAsync))]
Task<SaveChangesResult> ProcessSaveChangesRequestAsync(SaveChangesRequest request);
}
}