public IActionResult GetAdvertisementByCompany(string companyId)
        {
            var advertisement = _advertisementRepository.GetAdvertisementsByCompany(companyId);

            if (advertisement == null)
            {
                return(NotFound("Anúncios não encontrados"));
            }
            else
            {
                return(Ok(advertisement));
            }
        }