public virtual grpc::AsyncUnaryCall <global::Discount.Grpc.Protos.CouponModel> CreateDiscountAsync(global::Discount.Grpc.Protos.CreateDiscountRequest request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_CreateDiscount, null, options, request)); }
public virtual global::Discount.Grpc.Protos.CouponModel CreateDiscount(global::Discount.Grpc.Protos.CreateDiscountRequest request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_CreateDiscount, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::Discount.Grpc.Protos.CouponModel> CreateDiscountAsync(global::Discount.Grpc.Protos.CreateDiscountRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(CreateDiscountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::System.Threading.Tasks.Task <global::Discount.Grpc.Protos.CouponModel> CreateDiscount(global::Discount.Grpc.Protos.CreateDiscountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }