public async Task <List <Employee> > GetAllAsync() { var result = new List <Employee>(); using (var call = _employeeServiceClient.GetAll(new ProtocolBuffers.GetAllRequest())) { while (await call.ResponseStream.MoveNext()) { result.Add(_employeeConverter.ToModel(call.ResponseStream.Current.Employee)); } } return(result); }