Adding Service Layer in Core C# | Creating Custom or view model for Service Layer | Part-6


Hi Developers ! In this video we will add service Layer in our architecture .
The services layer is dedicated to business logic and integrates to the repositories from the data access layer. This makes the services layer responsible for business logic as well as populating view models and updating edit models. By encapsulating our data access layer we also remove the services dependency on the specific concrete class for accessing the data. This separation allows us to execute the services layer in production against a SQL database while pointing our test environment to Mocks or static Fixtures for automated unit testing.
Complete Playlist: