public async Task <ActionResult> Get([FromQuery] CRMRecipientSearchModel cRMRecipientSearchModel)
        {
            var listCRMRecipient = await _iCRMRecipientService.GetCRMRecipient(cRMRecipientSearchModel);

            return(Ok(listCRMRecipient));
        }
 public async Task <IEnumerable <CRMRecipientModel> > GetCRMRecipient(CRMRecipientSearchModel cRMRecipientSearchModel)
 {
     return(await _iCRMRecipientRepository.GetCRMRecipient(cRMRecipientSearchModel));
 }
 public async Task <IEnumerable <CRMRecipientModel> > GetCRMRecipient(CRMRecipientSearchModel cRMRecipientSearchModel)
 {
     return(await Query <CRMRecipientModel>("Crm.GetCRMRecipients", cRMRecipientSearchModel));
 }