Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.NET] Create a Service to manage the Restaurants #16

Open
fdejesusmazzoni opened this issue May 14, 2024 · 0 comments
Open

[.NET] Create a Service to manage the Restaurants #16

fdejesusmazzoni opened this issue May 14, 2024 · 0 comments
Assignees

Comments

@fdejesusmazzoni
Copy link
Member

fdejesusmazzoni commented May 14, 2024

Description

Create a new class in the service layer of the application to manage operations related to restaurants. This class will serve as an intermediary between the data access layer and the presentation layer, encapsulating business logic and providing a clean interface for interacting with restaurant data. The Restaurant Service class will offer methods to perform CRUD (Create, Read, Update, Delete) operations, as well as any other restaurant-specific functionalities required by the application.

The first method will be to obtain a list of beers with the price available in a given restaurant. the method it will access the repository, get the list of beers and map the result using the DTO entity.

Acceptance Criteria

  • Use dependency injection to access the repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants