public BE.ClientAudit InsertClientAudit(BE.ClientAudit entity) { //@@NEW - removed try/catch. insert returns DA entity (with new data). this method now returns an entity. DA.ClientAuditGateway gateway = new DA.ClientAuditGateway(); DA.ClientAudit result = gateway.Insert(entity.ToDataEntity()); return result.ToBusinessEntity(); }
public List<BE.ClientAudit> GetClientAuditsForPaymentInfoByPaymentInfoGuid(Guid paymentInfoGuid) { DA.ClientAuditGateway gateway = new DA.ClientAuditGateway(); List<BE.ClientAudit> result = new List<BE.ClientAudit>(); result = gateway.GetForPaymentInfoByPaymentInfoGuid(paymentInfoGuid).ToBusinessEntitiesList(); return result; }
public BE.ClientAudit GetClientAuditByClientAuditGuid(Guid clientAuditGuid) { DA.ClientAuditGateway gateway = new DA.ClientAuditGateway(); BE.ClientAudit result = new BE.ClientAudit(); result = gateway.GetByPK(clientAuditGuid).ToBusinessEntity(); return result; }
public List<BE.ClientAudit> GetClientAuditsForClientByClientGuid(Guid clientGuid) { DA.ClientAuditGateway gateway = new DA.ClientAuditGateway(); List<BE.ClientAudit> result = new List<BE.ClientAudit>(); result = gateway.GetForClientByClientGuid(clientGuid).ToBusinessEntitiesList(); return result; }
public List<BE.ClientAudit> GetAllClientAuditWithUndefined() { DA.ClientAuditGateway gateway = new DA.ClientAuditGateway(); List<BE.ClientAudit> result = new List<BE.ClientAudit>(); result = gateway.GetAllWithUndefined().ToBusinessEntitiesList(); return result; }