Skip to content

Dev06 08 ricardo collado practice01#2

Open
RicardoColladoRothschild wants to merge 2 commits intoorodriguez:mainfrom
RicardoColladoRothschild:Dev06-08_Ricardo_Collado_Practice01
Open

Dev06 08 ricardo collado practice01#2
RicardoColladoRothschild wants to merge 2 commits intoorodriguez:mainfrom
RicardoColladoRothschild:Dev06-08_Ricardo_Collado_Practice01

Conversation

@RicardoColladoRothschild
Copy link
Copy Markdown

Add a Description property to Expense class: Expense class object is the one that control the objects that came in the request and the ExpenseController transform from a JSON to Expense object. By simple adding a property to the class, now it can recieve the Description property within the JSON when requested

Create a Delete endpoint: In order to create a Delete endpoint, must modified some clases and some new methods to some interfaces and then provide behaviors for these methods. Method that were added: GetById, Remove, DeleteExpense. Provide logic for these method and the controller coudl take care of the Request that comes from the client

Additional": Leave some comments on the code that helped me to understand what was actually happen on the solution.

…the one that control the objects that came in the request and the ExpenseController transform from a JSON to Expense object. By simple adding a property to the class, now it can recieve the Description property within the JSON when requested
…modified some clases and some new methods to some interfaces and then provide behaviors for these methods. Method that were added: GetById, Remove, DeleteExpense. Provide logic for these method and the controller coudl take care of the Request that comes from the client
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.

1 participant