/// <summary>
        ///     DalImp c-tor
        /// </summary>
        internal DalImp()
        {
            try
            {
                //initialize trainees
                if (File.Exists(Configuration.TraineesXmlFilePath))
                {
                    _traineesXml = XElement.Load(Configuration.TraineesXmlFilePath);
                }
                else
                {
                    _traineesXml = new XElement("trainees");
                }
                _trainees = XML.GetAllTraineesFromXml(_traineesXml).ToList();

                //initialize testers
                if (File.Exists(Configuration.TestersXmlFilePath))
                {
                    _testersXml = XElement.Load(Configuration.TestersXmlFilePath);
                }
                else
                {
                    _testersXml = new XElement("testers");
                }
                _testers = XML.GetAllTestersFromXml(_testersXml).ToList();

                //initialize tests
                if (File.Exists(Configuration.TestsXmlFilePath))
                {
                    _tests = XML.DeSerializeTestFromXml().ToList();
                }
                else
                {
                    _tests = new List <Test>();
                }

                //Load configurations
                _config = XML.LoadConfigurations();
            }
            catch
            {
                //do nothing
            }
        }
 /// <summary>
 ///     Load configuration from xml
 /// </summary>
 /// <returns></returns>
 public XElement LoadConfigurations()
 {
     return(XML.LoadConfigurations());
 }