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