public async Task <Result <bool> > DeleteAffiliate(int id)
 {
     return(await _affiliateService.DeleteAsync(id));
 }