public async Task Delete(Guid id)
        {
            var customer = await _repository.GetAll().Include(x => x.CustomerAddresses).FirstOrDefaultAsync(x => x.Id == id);

            foreach (var address in customer.CustomerAddresses)
            {
                await _addressAppService.Delete(address.Id);
            }

            await _repository.DeleteAsync(customer);

            return;
        }
        public async Task <AjaxResponse <bool> > Delete([FromBody] Guid id)
        {
            var res = await _appservice.Delete(id);

            return(new AjaxResponse <bool>(res));
        }