/// <summary>
        /// حذف صورت
        /// </summary>
        /// <param name="id">شناسه خارجی</param>
        public static void DeleteFace(string id)
        {
            ///[Deleting face]
            KeyValuePair <string, string> record = m_xmlKeyValueDatabase.RetrieveByValue(id);

            if (record.Key != null && record.Value != null)
            {
                if (m_facePictureRepository.DeleteDirectory(string.Format(@"{0}", record.Key)))
                {
                    m_xmlKeyValueDatabase.Delete(record.Key);
                }
            }
            ///[Deleting face]
        }