Access value in Html page from Web Api controller.

Hi,
I need to read some values from a WebApi into a Html file.
for ex. I have something like below in a controller file of WebApi.
string empId = Employee.GetEmpId("name")

I want to display the value of this empId in a control on Html page.
Please suggest me how to access this value?

Thanks.