Ehsan-org / ASP.NET-FirstProject

1 stars 0 forks source link

Added CRUD methods to DataAccess: #17

Closed ehsan-nadernezhad closed 1 month ago

ehsan-nadernezhad commented 1 month ago

This pull request adds basic CRUD operations to the DataAccess class. The following methods have been implemented: Add: Adds a new record to the data source. Get: Retrieves a record by its identifier. GetAll: Retrieves all records from the data source. GetFirstOrDefault: Retrieves the first record that matches a specified condition. Remove: Removes a record from the data source by its identifier.

These changes are necessary to improve data manipulation and retrieval within the application. Please review the changes and provide feedback.😊