public void Accept(string draftIdString) { var draftId = DraftId.From(draftIdString); var draft = _draftRepository.Get(draftId); var agreement = draft.Accept(); _agreementRepository.Save(agreement); }
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); }