Ejemplo n.º 1
0
 public void UpdateFacilityWithOffering(BE.FacilityWithOffering request)
 {
     DA.FacilityWithOfferingGateway gateway = new DA.FacilityWithOfferingGateway();
     try
     {
         gateway.Update(request);
     }
     catch (Exception ex) { throw ex; }
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }