We pass the last layer, the presentation layer. In this layer, we can use our projects and codes in the other layer by adding Add Reference in the Dependencies section. After adding other layers we have to make a few adjustments in the Startup class.…