I am wondering what is the current best practice for laying out a project in DNN7 when implementing DAL2 and WEB API features.
Currently I keep the petapoco object in a class in the Data directory (peopleData.cs for example). I keep the CRUD and API methods together in a class in the Components directory (peopleController.cs for example)
but I don't feel that this is the most optimum approach. In what way is it recommended to separate the petapoco object, the CRUD and the API methods.
Thanks
Mark