public ActionResult <PlusPrismLensCenterThicknessModel> PlusPrismCenterThickness(PlusPrismLensCenterThicknessModel thickness) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } thickness.Result = Thickness.PlusPrismLensCenterThickness(thickness.SagittalDepth, thickness.MinimumEdgeThickness, thickness.PrismBaseThickness); return(thickness); }