public override SiteType GetSiteTypeByName(string siteTypeName)
 {
     using (var transaction = new TransactionScope(_configuration))
     {
         var sDs = new SiteTypeDataStore(transaction);
         return(sDs.FindByName(siteTypeName));
     }
 }
        public override bool SiteTypeExists(SiteType siteType)
        {
            using (var transaction = new TransactionScope(_configuration))
            {
                var      sDs = new SiteTypeDataStore(transaction);
                SiteType st  = sDs.FindByName(siteType.Name);

                if (st != null)
                {
                    return(true);
                }
            }

            return(false);
        }