public ActionResult <IEnumerable <Company> > Get() { try { return(Ok(_cs.Get())); } catch (System.Exception e) { return(BadRequest(e.Message)); } }