public async Task <IActionResult> Get()
        {
            var companiesFromRepo = await _companyLogic.GetObjects();

            if (companiesFromRepo == null)
            {
                return(NotFound());
            }
            var companiesToReturn = _mapper.Map <List <CompanyForListDTO> >(companiesFromRepo);

            return(Ok(companiesToReturn));
        }