public async Task <dynamic> DeleteText(string textId)
        {
            string userId = Request.Query
                            .SingleOrDefault(q => string.Compare(q.Key, "userId", StringComparison.OrdinalIgnoreCase) == 0)
                            .Value;

            if (string.IsNullOrEmpty(userId) || string.IsNullOrEmpty(textId))
            {
                return(BadRequest("Missing parameters in request, userId/textId"));
            }

            try
            {
                return(await _crudService.DeleteTextAsync(userId, textId));
            }
            catch (Exception e)
            {
                _logger.LogError("Delete Text Failed " + e);
                return(BadRequest(e.Message));
            }
        }