Exemple #1
0
        public ActionResult <MinusPrismLensEdgeThicknessModel> MinusPrismLensEdgeThickness(MinusPrismLensEdgeThicknessModel thickness)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            thickness.Result = Thickness.MinusPrismLensEdgeThickness(thickness.SagittalDepth, thickness.MinimumCenterThickness, thickness.PrismBaseThickness);
            return(thickness);
        }