public async Task <IActionResult> FindAllAsync() { try { var content = await deckRepository.FindAll(); logger.LogInformation("------------> All decks have been returned <------------"); return(Ok(snakeCaseConverter.ConvertToSnakeCase(content))); } catch (Exception ex) { logger.LogWarning("------------> An error has occurred <------------ \n" + ex.Message); return(BadRequest(ex.Message)); } }