public void UpdateCityStateZipWithFacility(BE.CityStateZipWithFacility request) { DA.CityStateZipWithFacilityGateway gateway = new DA.CityStateZipWithFacilityGateway(); try { gateway.Update(request); } catch (Exception ex) { throw ex; } }
public List<BE.CityStateZipWithFacility> GetCityStateZipWithFacilityByFacilityGuid(Guid facilityGuid) { DA.CityStateZipWithFacilityGateway gateway = new DA.CityStateZipWithFacilityGateway(); List<BE.CityStateZipWithFacility> result = new List<BE.CityStateZipWithFacility>(); try { result = gateway.GetByFacilityGuid(facilityGuid).ToBusinessEntity(); } catch (Exception ex) { throw ex; } return result; }
public List<BE.CityStateZipWithFacility> GetAllCityStateZipWithFacility() { DA.CityStateZipWithFacilityGateway gateway = new DA.CityStateZipWithFacilityGateway(); List<BE.CityStateZipWithFacility> result = new List<BE.CityStateZipWithFacility>(); try { result = gateway.GetAll().ToBusinessEntitiesList(); } catch (Exception ex) { throw ex; } return result; }