//Recipe public static string SerializeRecipe(Recipe rec) { string serializedRec = JSONHelper.Serialize <Recipe>(rec); return(serializedRec); }
//Comment public static string SerializeComment(Comment com) { string serializedCom = JSONHelper.Serialize <Comment>(com); return(serializedCom); }
//Ingredient public static string SerializeIngredient(Ingredient ing) { string serializedIng = JSONHelper.Serialize <Ingredient>(ing); return(serializedIng); }
//Offers public static string SerializeOffers(Offers off) { string serializedOffers = JSONHelper.Serialize <Offers>(off); return(serializedOffers); }
//Pictures public static string SerializePictures(Pictures pic) { string serializedPictures = JSONHelper.Serialize <Pictures>(pic); return(serializedPictures); }
//IngredientIn public static string SerializeIngredientIn(IngredientIn ing) { string serializedIngredientIn = JSONHelper.Serialize <IngredientIn>(ing); return(serializedIngredientIn); }
//HasEaten public static string SerializeHasEaten(HasEaten has) { string serializedHasEaten = JSONHelper.Serialize <HasEaten>(has); return(serializedHasEaten); }
// // Relationships // //Favorises public static string SerializeFavorises(Favorises fav) { string serializedFav = JSONHelper.Serialize <Favorises>(fav); return(serializedFav); }
// // Entities // //Account public static string SerializeAccount(Account acc) { string serializedAcc = JSONHelper.Serialize <Account>(acc); return(serializedAcc); }
//Retailer public static string SerializeRetailer(Retailer ret) { string serializedRet = JSONHelper.Serialize <Retailer>(ret); return(serializedRet); }