public JsonResult Get()  // get all companies
        {
            List <Company> companies = db.getAllCompanies();

            return(new JsonResult(companies));
        }