Пример #1
0
        private async Task <HandlerServiceResult> StatsCategoryQuestion()
        {
            var categories = await _documentServiceHelper.GetUserCategories(_user.Id);

            return(new HandlerServiceResult
            {
                Message = "Please, select category.",
                StatusCode = StatusCodeEnum.NeedKeyboard,
                Helper = categories.Where(c => c.Configured).Select(c => c.Name).ToList()
            });
        }