Exemplo n.º 1
0
        public IActionResult Delete(int id)
        {
            var client = new Greeter.GreeterClient(channel);

            client.Delete(new EmployeeId {
                Id = id
            });
            return(new ObjectResult(id));
        }
Exemplo n.º 2
0
 public void Stop()
 {
     client.Delete(new DeleteI {
         Id = ID
     });
 }