C# Class ProjectJam.RecipeController

Datei anzeigen Open project: Tiakiana/ProjectMarmelade Class Usage Examples

Public Methods

Method 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 method

public CreateRecipe ( string Head, string desc, string ingredient ) : void
Head string
desc string
ingredient string
return void

DeleteRecipe() public method

public DeleteRecipe ( int ID ) : bool
ID int
return bool

GetRecipeIDName() public method

public GetRecipeIDName ( ) : string
return string

JugdeRecipe() public method

public JugdeRecipe ( int ID, string jugdement ) : bool
ID int
jugdement string
return bool

Updater() public method

public Updater ( System.Windows.Controls.TextBlock TB ) : void
TB System.Windows.Controls.TextBlock
return void

ViewKnowlegde() public method

public ViewKnowlegde ( ) : string
return string

ViewRecipe() public method

public ViewRecipe ( int ID ) : string
ID int
return string