public void Dispose()
        {
            if (AgencyLocationRepository != null)
            {
                AgencyLocationRepository.Dispose();
                AgencyLocationRepository = null;
            }

            if (RoleRepository != null)
            {
                RoleRepository.Dispose();
                RoleRepository = null;
            }
        }
 public IList <AgencyLocation> AgencyLocationGetAll()
 {
     return(AgencyLocationRepository.AgencyLocationGetAll());
 }
 public AgencyEditBLL()
 {
     AgencyLocationRepository = new AgencyLocationRepository();
     RoleRepository           = new RoleRepository();
 }