コード例 #1
0
        public ActionResult <EdgeThicknessModel> EdgeThickness(EdgeThicknessModel thickness)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            thickness.Result = Thickness.EdgeThickness(thickness.SagittalFront, thickness.SagittalBack, thickness.CenterThickness);
            return(thickness);
        }