/// <summary>
        /// Update close answer
        /// </summary>
        /// <param name="model"></param>
        public void Update(CloseAnswer model)
        {
            var answer = this.context.CloseAnswers.Find(model.Id);

            answer.Content = model.Content;
            answer.Correct = model.Correct;
            this.context.SaveChanges();
        }
 /// <summary>
 /// Add close answer
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public int Add(CloseAnswer model)
 {
     this.context.CloseAnswers.Add(model);
     this.context.SaveChanges();
     return(model.Id);
 }