/// <summary>
 /// RemoveTemplate method implmentation
 /// </summary>
 public void RemoveTemplate(int lcid)
 {
     try
     {
         PSConfigMailFileName item = (from it in _list where it.LCID == lcid select it).First();
         int i = _list.IndexOf(item);
         _list.RemoveAt(i);
     }
     catch (Exception ex)
     {
         throw new Exception("Template dosen't exists !", ex);
     }
 }
 /// <summary>
 /// SetTemplate method implmentation
 /// </summary>
 public void SetTemplate(int lcid, string filename, bool enabled = true)
 {
     try
     {
         PSConfigMailFileName item = (from it in _list where it.LCID == lcid select it).First();
         int i = _list.IndexOf(item);
         item.FileName = filename;
         item.Enabled  = enabled;
         _list[i]      = item;
     }
     catch (Exception)
     {
         _list.Add(new PSConfigMailFileName(lcid, filename, enabled));
     }
 }