public async Task <IActionResult> DeleteBusiness([FromBody] BusinessViewModel vm)
        {
            try
            {
                var delBusiness = _repository.GetBusinessByName(vm.CompanyName);
                _repository.DeltBusiness(delBusiness);
                if (await _repository.SaveChangesAsync())
                {
                    return(Ok(Mapper.Map <BusinessViewModel>(delBusiness)));
                }
            }
            catch (Exception ex)
            {
                _logger.LogError($"Ocurrio un error al eliminar {ex}");
            }

            return(BadRequest("El negocio no se pudo eliminar"));
        }