Пример #1
0
        public ActionResult <PlusPrismLensThickestEdgeModel> PlusPrismThickestEdge(PlusPrismLensThickestEdgeModel thickness)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            thickness.Result = Thickness.PlusPrismLensThickestEdge(thickness.PrismBaseThickness, thickness.MinimumEdgeThickness);
            return(thickness);
        }