示例#1
0
 public List <Recipes> get()
 {
     dal.Recipesdb obj = new dal.Recipesdb();
     return(obj.get(this));
 }
示例#2
0
 public List <Recipes> list()
 {
     dal.Recipesdb obj = new dal.Recipesdb();
     return(obj.list());
 }
示例#3
0
 public int save()
 {
     dal.Recipesdb obj = new dal.Recipesdb();
     return(obj.save(this));
 }
示例#4
0
 public int remove()
 {
     dal.Recipesdb obj = new dal.Recipesdb();
     return(obj.remove(this));
 }
示例#5
0
 public List <Recipes> getbycategory(int catid)
 {
     dal.Recipesdb obj = new dal.Recipesdb();
     return(obj.getbyCategory(catid));
 }