Do you know that WebAPI and tables name should be consistent?
29/04/2015 12:23 AM by
When creating WebAPIs for your applications, it is useful to keep the naming consistent all the way from the back-end to the front-end.
Table name: EmployeesBad Example: The endpoint is different to the table name
Table name: Employees
Good Example: Table name is the same as the WebAPI endpoint
By making the endpoint the same as the table name, you can simplify development and maintenance of the WebAPI layer.
In some circumstances you may not have direct control over the database however. In these situations it may make sense to have different endpoint names if doing so will simplify development for consumers of your WebAPI endpoints.
Do you feel this rule needs an update?