diff --git a/DSoft.Portable.WebClient.Grpc.Encryption/ICrudGrpcClient.cs b/DSoft.Portable.WebClient.Grpc.Encryption/ICrudGrpcClient.cs new file mode 100644 index 0000000..7b2fa64 --- /dev/null +++ b/DSoft.Portable.WebClient.Grpc.Encryption/ICrudGrpcClient.cs @@ -0,0 +1,24 @@ +using Grpc.Core; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading; + +namespace DSoft.Portable.WebClient.Grpc.Encryption +{ + public interface ICrudGrpcClient + { + AsyncUnaryCall AddAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)); + + AsyncUnaryCall DeleteAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)); + + AsyncUnaryCall FindAllAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)); + + AsyncUnaryCall FindAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)); + + AsyncUnaryCall UpdateAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)); + + + + } +}