Пример #1
0
        internal async Task AddUpdateEventAsync(GrpcChannel channel, int employeeId)
        {
            var client = new Users.UsersClient(channel);
            var input  = new Int32Value
            {
                Value = employeeId
            };

            await client.AddUpdateEventAsync(input);
        }
Пример #2
0
        internal async Task SendUpdateEventAsync(GrpcChannel channel, int userId)
        {
            var client       = new Users.UsersClient(channel);
            var updatesInput = new Int32Value
            {
                Value = userId
            };

            await client.AddUpdateEventAsync(updatesInput);
        }