nested reference can be accessible from dotnet core 1

Viewed 291

I have created Business and DataAccess Layer for my web project using dotnet core. I have added Data access reference in Business layer and referenced the business layer in UI (web project) layer.

I seen, I am able to access my Data access layer from my UI (web) project. I am really wondering, It can lead to violation of any application design.

Appreciate help, if anybody come across this and how to restrict access to data access layer from UI.

enter image description here

1 Answers
Related