Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Transaver.TOL.RFP.RFPCompanyProfile ResolveCompanyProfile()
- {
- var rfpCompanyProfile = Session.RFPCompanyProfile;
- if (rfpCompanyProfile == null)
- {
- if (Session.RFP == null)
- Session.RFP = new Transaver.TOL.RFP.RFP(Session.DatabaseRFP);
- rfpCompanyProfile = new Transaver.TOL.RFP.RFPCompanyProfile(Session.RFP, Session.DatabaseRFP);
- }
- return rfpCompanyProfile;
- }
- private Transaver.TOL.RFP.RFPCompanyProfile ResolveCompanyProfile(Transaver.TOL.RFP.RFP rfp, Transaver.TOL.CompanyLocation.CompanyLocation companyLocation)
- {
- if (Session.RFPCompanyProfile == null)
- {
- Session.RFPCompanyProfile = GetCompanyProfile(ref rfp, companyLocation);
- }
- else
- {
- if (Session.RFPCompanyProfile.RFPID != rfp.ID)
- Session.RFPCompanyProfile = GetCompanyProfile(ref rfp, companyLocation);
- }
- return Session.RFPCompanyProfile;
- }
Add Comment
Please, Sign In to add comment