In somany many applications, the business logic accesses data from data stores such as databases, SharePoint lists, or Web services.SO Directly accessing the data can result in the follodirect wing:
A repository separates the business logic from the direct interactions with the underlying data source or Web service.

The Benefits are

  • It provides a substitution point for the unit tests.
  • MAintainebility of codes

  • Interactions of the repository to Datasource
    Ff649690.4058e458-bd54-4597-845e-6f8b1a21cfc3(en-us,PandP.10).png