public void UpdateOfferingWithFacility(BE.OfferingWithFacility request) { DA.OfferingWithFacilityGateway gateway = new DA.OfferingWithFacilityGateway(); try { gateway.Update(request); } catch (Exception ex) { throw ex; } }
public List<BE.OfferingWithFacility> GetOfferingWithFacilityByOfferingGuid(Guid offeringGuid) { DA.OfferingWithFacilityGateway gateway = new DA.OfferingWithFacilityGateway(); List<BE.OfferingWithFacility> result = new List<BE.OfferingWithFacility>(); try { result = gateway.GetByOfferingGuid(offeringGuid).ToBusinessEntity(); } catch (Exception ex) { throw ex; } return result; }
public List<BE.OfferingWithFacility> GetAllOfferingWithFacility() { DA.OfferingWithFacilityGateway gateway = new DA.OfferingWithFacilityGateway(); List<BE.OfferingWithFacility> result = new List<BE.OfferingWithFacility>(); try { result = gateway.GetAll().ToBusinessEntitiesList(); } catch (Exception ex) { throw ex; } return result; }