public void UpdateFacilityWithOffering(BE.FacilityWithOffering request) { DA.FacilityWithOfferingGateway gateway = new DA.FacilityWithOfferingGateway(); try { gateway.Update(request); } catch (Exception ex) { throw ex; } }
public List<BE.FacilityWithOffering> GetFacilityWithOfferingByOfferingGuid(Guid offeringGuid) { DA.FacilityWithOfferingGateway gateway = new DA.FacilityWithOfferingGateway(); List<BE.FacilityWithOffering> result = new List<BE.FacilityWithOffering>(); try { result = gateway.GetByOfferingGuid(offeringGuid).ToBusinessEntity(); } catch (Exception ex) { throw ex; } return result; }
public List<BE.FacilityWithOffering> GetAllFacilityWithOffering() { DA.FacilityWithOfferingGateway gateway = new DA.FacilityWithOfferingGateway(); List<BE.FacilityWithOffering> result = new List<BE.FacilityWithOffering>(); try { result = gateway.GetAll().ToBusinessEntitiesList(); } catch (Exception ex) { throw ex; } return result; }