private async Task <List <HandlerServiceResult> > ConfigureCategoryDelete(string answer, User user)
        {
            answer = answer.Trim();

            List <HandlerServiceResult> result;

            var categories = await _categoryDocumentService.GetByUserIdAsync(user.Id);

            var categoryToDelete = categories.FirstOrDefault(c => c.Name.Equals(answer));

            if (categoryToDelete != null)
            {
                await _categoryDocumentService.DeleteAsync(categoryToDelete.Id);

                result = new List <HandlerServiceResult> {
                    _resultService.BuildCategoryDeletedResult()
                };
            }
            else
            {
                result = new List <HandlerServiceResult> {
                    _resultService.BuildCategoryNotFoundErrorResult()
                };
            }

            user.Context.CurrentNode = null;

            user.Context.CategoryId = null;

            await _userDocumentService.UpdateAsync(user);

            return(result);
        }