Add the addItem method, that add an item to a Cart, and its route.

This commit is contained in:
2023-06-19 20:24:14 +03:00
parent 6bb99c7f70
commit fd4a4bf5ea
2 changed files with 59 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ Route::group([
// Cart
Route::post('select-city', 'CartController@selectCity');
Route::post('select-company', 'CartController@selectCompany');
Route::post('add-item', 'CartController@addItem');
// User
Route::post('register', 'UserController@register');