Skip to content

Instantly share code, notes, and snippets.

@Shashwat79802
Created June 10, 2023 12:26
Show Gist options
  • Save Shashwat79802/53832883535e44932b7bdf060f33de1f to your computer and use it in GitHub Desktop.
Save Shashwat79802/53832883535e44932b7bdf060f33de1f to your computer and use it in GitHub Desktop.
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