public ActionResult EditAnswerCalls(int skillId, int answerId)
        {
            AnswerCallViewModel model = new AnswerCallViewModel()
            {
                SkillId  = skillId,
                AnswerId = answerId
            };

            using (AlexaSkillEntities db = new AlexaSkillEntities())
            {
                if (answerId != 0)
                {
                    Answer answer = db.Answers.FirstOrDefault(x => x.Id == answerId);
                    if (answer != null)
                    {
                        model.Answer = answer.Answert;
                    }
                }
                List <Meat> meats = db.Meats.Where(x => x.AnswerId == answerId).ToList();

                foreach (Meat meat in meats)
                {
                    model.Calls.Add(new AnswerCallItemViewModel()
                    {
                        Id   = meat.Id,
                        Name = meat.Name
                    });
                }
                db.SaveChanges();
            }

            return(View(model));
        }
        public ActionResult EditAnswerCalls(AnswerCallViewModel model)
        {
            using (AlexaSkillEntities db = new AlexaSkillEntities())
            {
                if (db.Meats.Where(x => x.Name == model.AddCallName).Count() > 0)
                {
                    return(RedirectToAction("EditAnswerCalls", "CoreTemperature", new { skillId = model.SkillId, answerId = model.AnswerId }));
                }

                Meat meat = new Meat()
                {
                    Name     = model.AddCallName,
                    AnswerId = model.AnswerId
                };
                db.Meats.Add(meat);
                db.SaveChanges();
            }

            return(RedirectToAction("EditAnswerCalls", "CoreTemperature", new { skillId = model.SkillId, answerId = model.AnswerId }));
        }