DXC Technology Interview Question

Code of cshtml,js,controller(how to pass values)