public void AddAccount(WhatYouGotLibrary.Models.Account account) { Entities.Account newAccount = Mapper.Map(account); _context.Add(newAccount); }
public void AddRecipe(WhatYouGotLibrary.Models.Recipe recipe) { Entities.Recipe newRecipe = Mapper.Map(recipe); _context.Add(newRecipe); }
public void AddInstruction(WhatYouGotLibrary.Models.Instruction instruction) { Entities.Instruction newInstruction = Mapper.Map(instruction); _context.Add(newInstruction); }
public void AddFavorite(WhatYouGotLibrary.Models.Favorite favorite) { Entities.Favorite newFavorite = Mapper.Map(favorite); _context.Add(newFavorite); }
public void AddIngredient(WhatYouGotLibrary.Models.Ingredient ingredient) { Entities.Ingredient newIngredient = Mapper.Map(ingredient); _context.Add(newIngredient); }
public void AddReview(WhatYouGotLibrary.Models.Review review) { Entities.Review newReview = Mapper.Map(review); _context.Add(newReview); }