public static int getRequestIDByUserID(string id) { return(DietC.getRequestIDByUserID(Convert.ToInt32(id))); }
public static void deleteDiet(string id) { DietC.DeleteDiet(Convert.ToInt32(id)); }
public static void getDietIDByDietitianAndUserID(int dietitianID, int userID) { DietC.getDietIDByDietitianAndUserID(dietitianID, userID); }
public static void updateDiet(DietE obj) { DietC.UpdateDiet(obj); }
public static int insertDiet(DietE obj) { return(DietC.InsertDiet(obj)); }
public static DietE getDietByID(string id) { return(DietC.getDietByID(Convert.ToInt32(id))); }
public static List <DietE> getDietsWithoutNull(int id) { return(DietC.selectDietsWithoutNull(id)); }
//Diet public static List <DietE> getDiets() { return(DietC.selectDiets()); }