예제 #1
0
        //-------- Pay ----------------//
        public async Task <GroupEntity> SetPrice(string chatId)
        {
            var info = await GetGroupInfo(chatId);

            var priceInfo = await _festivalService.GetPrice(info.CenterType.Value, info.FestivalAxId.Value);

            info.Price = priceInfo.PriceAmount;
            await _context.SaveChangesAsync();

            return(info);
        }