mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-23 04:09:52 +00:00
Manage address function + improve performance app
This commit is contained in:
@@ -71,4 +71,10 @@ public interface FoodApiToken {
|
||||
|
||||
@POST("users/{userId}/addresses")
|
||||
Call<CustomResponse> createAddressUser(@Path("userId") int userId, @Body Address address);
|
||||
|
||||
@PUT("users/{userId}/addresses/{addressId}")
|
||||
Call<CustomResponse> editAddressUser(@Path("userId") int userId, @Path("addressId") int addressId, @Body Address address);
|
||||
|
||||
@DELETE("users/{userId}/addresses/{addressId}")
|
||||
Call<CustomResponse> deleteAddressUser(@Path("userId") int userId, @Path("addressId") int addressId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user