/// <summary>Deletes the specified identifier.</summary>
        /// <param name="id">The identifier.</param>
        public void Delete(int id)
        {
            AnketResponse response = db.AnketResponses.Find(id);

            if (response != null)
            {
                db.AnketResponses.Remove(response);
            }
        }
 /// <summary>Updates the specified entity.</summary>
 /// <param name="entity">The entity.</param>
 public void Update(AnketResponse entity)
 {
     db.Entry(entity).State = EntityState.Modified;
 }
 /// <summary>Creates the specified entity.</summary>
 /// <param name="entity">The entity.</param>
 public void Create(AnketResponse entity)
 {
     db.AnketResponses.Add(entity);
 }