public IActionResult Post([FromBody] Company company)
        {
            var dbCompany = Mapper.Map <DbCompany>(company);

            _companiesRepository.Add(dbCompany);
            _companiesRepository.SaveChanges();

            return(CreatedAtAction("Get", new { id = dbCompany.Id }, Mapper.Map <Company>(dbCompany)));
        }