public ActionResult <IEnumerable <Contractor> > Get() { try { return(Ok(_service.Find())); } catch (System.Exception error) { return(BadRequest(error.Message)); } }