Ejemplo n.º 1
0
        public HttpResponseMessage GetNonInsurancePriceByItemIds([FromUri] EyeglassOrderEntityIds entityIds)
        {
            var charges = this.eyeglassOrderIt2Manager.GetNonInsurancePriceByItemIds(this.officeNumber, this.companyId, entityIds);

            return(this.Request.CreateResponse(HttpStatusCode.OK, charges));
        }
Ejemplo n.º 2
0
        public HttpResponseMessage GetBesResponseForEyeglassOrder(int patientId, int eligibilityId, int doctorId, string labNum, int patientExamId, int rightLensId, int leftLensId, [FromUri] EyeglassOrderEntityIds entityIds)
        {
            AccessControl.VerifyUserAccessToPatient(patientId);
            string serverErrorMessage;
            var    besResponse = this.eyeglassOrderIt2Manager.GetBesResponseForEyeglassOrder(
                patientId,
                eligibilityId,
                doctorId,
                labNum,
                patientExamId,
                rightLensId,
                leftLensId,
                entityIds,
                this.companyId,
                this.officeNumber,
                out serverErrorMessage);

            return(this.Request.CreateResponse(HttpStatusCode.OK, new { serverErrorMessage, besResponse }));
        }
Ejemplo n.º 3
0
        public HttpResponseMessage GetPriceByItemId([FromUri] EyeglassOrderEntityIds entityIds)
        {
            var entities = this.eyeglassOrderIt2Manager.GetPriceByItemId(this.officeNumber, entityIds);

            return(this.Request.CreateResponse(HttpStatusCode.OK, entities));
        }