Example #1
0
        public AgencyCommunicationRequest GetAgencyCommunicationRequestById()
        {
            AgencyCommunicationRequest generalAgencyCommunicationRequest = new AgencyCommunicationRequest(agencyRequestId, tenderId, agencyRequestTypeId, statusId, requestedByRoleName);

            generalAgencyCommunicationRequest.AddAgencyCommunicationRequestValidity(extendOffersValidityId, offersDuration, extendOffersReason, replyReceivingDurationDays, replyReceivingDurationTime);
            generalAgencyCommunicationRequest.AddTender(tenderId, tenderTypeId, "TenderName", "1", "", 1, 1, _agencyCode, 1);
            generalAgencyCommunicationRequest.AddEscalationAcceptanceStatusForUnitTest();
            generalAgencyCommunicationRequest.EscalationAcceptanceStatus.SetIdAndNameForUnitTest((int)Enums.AgencyPlaintStatus.Accepted, "Accepted");
            return(generalAgencyCommunicationRequest);
        }