Exemplo n.º 1
0
        public async Task <Employee> Fire(int departmentId)
        {
            var person = await _client.FireEmployeeAsync(new FireEmployeeRequest()
            {
                Id = departmentId
            });

            return(person.Employee);
        }
        public async Task <Employee> Fire(int id)
        {
            var response = await _client.FireEmployeeAsync(new FireEmployeeRequest
            {
                Id = id
            });

            return(response.Employee);
        }