public ActionResult <MapObject> GetById(string id) { var modelObject = _objectService.GetbyId(id); if (modelObject == null) { return(NotFound()); } return(modelObject); }