Пример #1
0
 public static int getRequestIDByUserID(string id)
 {
     return(DietC.getRequestIDByUserID(Convert.ToInt32(id)));
 }
Пример #2
0
 public static void deleteDiet(string id)
 {
     DietC.DeleteDiet(Convert.ToInt32(id));
 }
Пример #3
0
 public static void getDietIDByDietitianAndUserID(int dietitianID, int userID)
 {
     DietC.getDietIDByDietitianAndUserID(dietitianID, userID);
 }
Пример #4
0
 public static void updateDiet(DietE obj)
 {
     DietC.UpdateDiet(obj);
 }
Пример #5
0
 public static int insertDiet(DietE obj)
 {
     return(DietC.InsertDiet(obj));
 }
Пример #6
0
 public static DietE getDietByID(string id)
 {
     return(DietC.getDietByID(Convert.ToInt32(id)));
 }
Пример #7
0
 public static List <DietE> getDietsWithoutNull(int id)
 {
     return(DietC.selectDietsWithoutNull(id));
 }
Пример #8
0
 //Diet
 public static List <DietE> getDiets()
 {
     return(DietC.selectDiets());
 }