示例#1
0
        public async Task <ResultsItem> CreateBBThread(BBThread thread)
        {
            if (!ModelState.IsValid)
            {
                return(ResultsItem.Error(ModelState.GetAllErrorsString()));
            }

            OnThreadUpdatedCacheHandler(thread.CategoryCode, thread.OfficialCoinId.GetValueOrDefault());
            return(await CommunityLogic.CreateBBThread(thread, CurrentUser));
        }