public ActionResult <EdgeThicknessModel> EdgeThickness(EdgeThicknessModel thickness) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } thickness.Result = Thickness.EdgeThickness(thickness.SagittalFront, thickness.SagittalBack, thickness.CenterThickness); return(thickness); }