public ActionResult <IEnumerable <PlanetsModel> > ReadAll()
 {
     try
     {
         return(Ok(_repository.ReadAll()));
     }
     catch (Exception ex)
     {
         _logger.LogError($"Error: controller exception on ReadAll()");
         return(StatusCode((int)HttpStatusCode.InternalServerError, $"Error: {ex.Message}"));
     }
 }