public async Task <KobisBoxOfficeResult> GetBoxOfficeWeeklyAsync(KobisBoxOfficeRequest request) { var pHelper = new ParameterHelper( new { Key = nameof(request.key), Value = request.key }, new { Key = nameof(request.targetDt), Value = request.targetDt } ); var rHelper = new RequestHelper(); return(await rHelper.GetRequestAsync <KobisBoxOfficeResult>(Consts.KOBIS_BOX_OFFICE_WEEKLY_URL, pHelper.ToGetParam())); }
public async Task <KobisBoxOfficeResult> GetBoxOfficeAsync(KobisBoxOfficeRequest request) { var rHelper = new RequestHelper(); return(await rHelper.GetRequestAsync <KobisBoxOfficeResult>(Consts.KOBIS_BOX_OFFICE_DAILY_URL, request.ToGetParam <KobisBoxOfficeRequest>())); }