How joaquintealdi/sistemaventas works
Domain Model Layer (SaleSystem/SS.Model)
• Contains core business entities and domain classes (Client, Product, ProductCategory, Supplier, User, Purchase, Sale, etc.).
• The existence of an EDMX file and related files suggests Entity Framework is used as the ORM for managing persistence.
• This layer encapsulates the core business logic and data structures central to the application.
Data Access Layer (SaleSystem/SS.Repositories)
• Consists of repository classes and interfaces (for example, IUsersRepository and its implementation).
• This layer abstracts direct interactions with the database and communicates with the Model layer using Entity Framework.
• It can be diagrammed as the component responsible for data persistence.
Service Layer (SaleSystem/SS.Services)
• Provides business logic services such as UsersService, PermissionsMenuManager, and management of the user session.
• Implements the application's core operations, consuming the repository layer to perform CRUD operations and business validations.
• The services act as a mediator between the view (UI) layer and the data/model layers.