public async Task <IActionResult> GetAvailableCategories()
        {
            try
            {
                var availableCategories = await _dbServices.GetAvailableCategoryNamesAsync();

                return(StatusCode(200, availableCategories));
            }
            catch (SqlException se)
            {
#if DEBUG
                return(StatusCode(400, se));
#else
                return(StatusCode(400, $"A sql related error has occurred while attempting to get available categories"));
#endif
            }
            catch (Exception ex)
            {
#if DEBUG
                return(StatusCode(500, ex));
#else
                return(StatusCode(500, $"A generic exception was caught while attempting to get available categories"));
#endif
            }
        }