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

πŸ”¨ feat: solving challenge, refactoring code, bug fixes and update project to .NET 8 #108

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mmichaelfelipe
Copy link

Summary

  • βœ… Implementation of the AdicionarVeiculo() method
  • βœ… Implementation of the RemoverVeiculo method
  • βœ… Implementation of the ListarVeiculos method
  • 🐞 Bug fixes
  • πŸ”§ Update project to .NET 8

Description

🎯 Development was strictly focused on solving the challenge, minor bug fixes, and code improvements.

Contributions to the project

🐞 Bug Fix:
The application did not check and process data typing when requesting the number of hours the vehicle was parked in the RemoverVeiculo() method, generating an exception at run time when reporting a value other than an integer.
For this purpose, the method for checking int data typing was implemented.

πŸ‘·β€β™‚οΈ Good practices:
To avoid code duplication in the Estacionamento.cs class, methods were implemented to obtain user data for the types of data necessary to complete the challenge.

πŸ”¨ Refactoring:
Renaming variables for better code readability.

πŸ”§ Update project to .NET 8:
Latest stable version at this time

…ject to .NET 8 (#1)

* πŸ”§ chore: Update project to .net 8

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

* πŸ”¨ feat: Implements AdicionarVeiculo method and private text data validation method

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

* πŸ”¨ feat: Implements ListarVeiculos method

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

* πŸ”¨ feat: Implements RemoverVeiculo method and private text data validation method

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

* ♻️ refactor: Implements registration duplication validation in the AdicionarVeiculo method and renames variable

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

* ♻️ refactor: Renames estacionamento variable for better readability in Program.cs

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>

---------

Signed-off-by: mmichaelfelipe <michaelfelipe.ti@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant