-
Notifications
You must be signed in to change notification settings - Fork 0
/
Recipe_class.cs
37 lines (33 loc) · 955 Bytes
/
Recipe_class.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
class Recipe
//Class yang berisikan resep masakan
{
private int id;
private string name;
private string url_picture;
private string password;
private List<string> ingredient_list = new List<string>();
private string method;
private float calories;
public Recipe(int ID, string Name, string urlPicture, string pass, List<string> ingredientList, string Method, float Cal)
{
id = ID;
name = Name;
url_picture = urlPicture;
password = pass;
ingredient_list = ingredientList;
method = Method;
calories = Cal;
}
public createRecipe()
{
}
public editRecipe()
{
}
public deleteRecipe()
{
}
public searchRecipe(float calories)
{
}
}