public async Task <Result <bool> > SendAffiliateEmail([FromBody] AffiliateEmailModel model) { if (!Validate(model)) { return(false); } var item = model.Convert(); return(await _affiliateService.SendAffiliateEmailAsync(item)); }
public async Task <Result <bool> > SendAffiliateEmail([FromBody] AffiliateEmailModel model) { if (!Validate(model)) { return(false); } var item = model.Convert(); return(await _affiliateService.SendAffiliateEmailAsync(item)); }