The difference is, HttpGet attribute on GetEmployee() method also has a route template. The id of the employee will be appended to the URL /api/employees.
確定! 回上一頁