コード例 #1
0
        public void CanSubmitBenefitInquiry()
        {
            return;

            var service = new PlanInfoService();

            service.SubmitBenefitInquiry(11, 57020);
        }
コード例 #2
0
        public async Task <HttpResponseMessage> Get()
        {
            var service = new PlanInfoService();
            var summary = await service.GetHealthPlanSummaryAsync(Request.EmployerID(), Request.CCHID());

            if (!summary.AsOfDate.HasValue || !summary.YearToDateSpent.HasValue)
            {
                service.SubmitBenefitInquiry(Request.EmployerID(), Request.CCHID());
            }

            return(Request.CreateResponse(HttpStatusCode.OK, (object)summary));
        }