示例#1
0
        public void Accept(string draftIdString)
        {
            var draftId = DraftId.From(draftIdString);
            var draft   = _draftRepository.Get(draftId);

            var agreement = draft.Accept();

            _agreementRepository.Save(agreement);
        }
示例#2
0
 public void Save(int agreementID, int divisionID, string agreementNumber, short agreementTypeID, string directAuthorityNumber, string otherAgreementType, DateTime whenAgreementBegins, DateTime whenAgreementEnds, int?agreementID_Prime, DataTable services, int UserID)
 {
     _AgreementRepository.Save(agreementID, divisionID, agreementNumber, agreementTypeID, directAuthorityNumber, otherAgreementType, whenAgreementBegins, whenAgreementEnds, agreementID_Prime, services, UserID);
 }