Created
June 10, 2023 12:26
-
-
Save Shashwat79802/53832883535e44932b7bdf060f33de1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.potionsbank.service; | |
import java.util.List; | |
import java.util.UUID; | |
import com.example.potionsapi.model.Potion; | |
public interface PotionService { | |
Potion createPotion( Potion potion ); | |
Potion updatePotion( UUID id, Potion potion ); | |
List<Potion> getAllPotion(); | |
Potion getPotionById( UUID potionId ); | |
void deletePotion( UUID id ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment