public ActionResult <bool> Create(SpeciesModel input) { try { return(Ok(_repository.Create(input))); } catch (Exception ex) { _logger.LogError($"Error: Controller exception on Create(T input)"); return(StatusCode((int)HttpStatusCode.InternalServerError, new { Error = ex.Message })); } }