We need to generate each Web Api service twice. The first time is for modeling. (The Wizard's repo for PhbkDbContext will be updated). The second time is for production. (The Wizard's repo for LpPhnPhBkContext will be updated). We can not copy/paste from one repo to another. Entities declared for PhbkDbContext-repo differ from those which are defined for LpPhnPhBkContext-repo. Some foreign keys for entities of LpPhnPhBkContext-repo were removed.
Steps required to accomplish the task
We do not describe step by step instructions
please repeat the steps similar to those described in the article 041.
Web Api Services for Modeling repo
LpPhBkControllers is a destination project
Controllers is a destination folder
PhBkContext- is a repo Dbcontext to generate the classes