Пример #1
0
        public async Task <IHttpActionResult> GetListAsync([Required][FromUri] GetPrizeListRequest request)
        {
            var prizeList = await _prizeService.GetListAsync(request.Type);

            return(Succeed(new GetPrizeListResponse
            {
                Items = prizeList
            }, "加载成功"));
        }