public ActionResult <BackVertexPowerModel> BackVertexPower(BackVertexPowerModel power) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } power.Result = Power.BackVertexPower(power.FrontSurfacePower, power.BackSurfacePower, power.Thickness, power.Index); return(power); }