C# Class ProjectJam.RecipeController

Afficher le fichier Open project: Tiakiana/ProjectMarmelade Class Usage Examples

Méthodes publiques

Méthode Description
CreateRecipe ( string Head, string desc, string ingredient ) : void
DeleteRecipe ( int ID ) : bool
GetRecipeIDName ( ) : string
JugdeRecipe ( int ID, string jugdement ) : bool
Updater ( System.Windows.Controls.TextBlock TB ) : void
ViewKnowlegde ( ) : string
ViewRecipe ( int ID ) : string

Method Details

CreateRecipe() public méthode

public CreateRecipe ( string Head, string desc, string ingredient ) : void
Head string
desc string
ingredient string
Résultat void

DeleteRecipe() public méthode

public DeleteRecipe ( int ID ) : bool
ID int
Résultat bool

GetRecipeIDName() public méthode

public GetRecipeIDName ( ) : string
Résultat string

JugdeRecipe() public méthode

public JugdeRecipe ( int ID, string jugdement ) : bool
ID int
jugdement string
Résultat bool

Updater() public méthode

public Updater ( System.Windows.Controls.TextBlock TB ) : void
TB System.Windows.Controls.TextBlock
Résultat void

ViewKnowlegde() public méthode

public ViewKnowlegde ( ) : string
Résultat string

ViewRecipe() public méthode

public ViewRecipe ( int ID ) : string
ID int
Résultat string