Coalesce
Coalesce copied to clipboard
Base type in Table-Per-Hierarchy does not generate delete endpoint
When using TPH mapping in EF core, the base class controller does not have a delete method generated but the concrete type controllers do. However, the front end view model does expose a delete method.
The ideal fix for this would be to support deletes to the base model. If there is some technical reason to not support it, another option is to remove the delete method from the view models of the base type in order to not mislead developers.