public async Task <IActionResult> GetMarketingAgreements([FromRoute] Guid organizationId)
        {
            var agreements =
                await _marketingService.GetAgreements <AgencyOwnerMarketingAgreementOutput>(_providerAgencyOwner);

            return(Ok(agreements));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> GetActiveAgreements([FromRoute] Guid organizationId)
        {
            var agreements = await _agreementService.GetAgreements <MarketerMarketingAgreementOutput>(_marketer);

            return(Ok(agreements));
        }