public IActionResult GetCompany([FromQuery] int id)
        {
            try
            {
                CompaniesViewModel company = _companiesRepository.GetCompanyById_viewModel(id);

                if (company.IsApproved == 1)
                {
                    return(Ok(company));
                }
                else
                {
                    return(BadRequest());
                }
            }
            catch
            {
                return(BadRequest());
            }
        }