public override Region GetRegionByName(string name)
 {
     using (var transaction = new TransactionScope(_configuration))
     {
         var store = new RegionDataStore(transaction);
         return(store.FindByName(name));
     }
 }
        public override bool RegionExists(Region region)
        {
            using (var transaction = new TransactionScope(_configuration))
            {
                var    rDs = new RegionDataStore(transaction);
                Region r   = rDs.FindByName(region.Name);

                if (r != null)
                {
                    return(true);
                }
            }
            return(false);
        }