diff --git a/fundamentals/middleware/problem-details-service/Controllers/ValuesController.cs b/fundamentals/middleware/problem-details-service/Controllers/ValuesController.cs index 41d29df..efcd00b 100644 --- a/fundamentals/middleware/problem-details-service/Controllers/ValuesController.cs +++ b/fundamentals/middleware/problem-details-service/Controllers/ValuesController.cs @@ -12,7 +12,8 @@ public class ValuesController : ControllerBase { if (Denominator == 0) { - var errorType = new MathErrorFeature { MathError = MathErrorType.DivisionByZeroError }; + var errorType = new MathErrorFeature { MathError = + MathErrorType.DivisionByZeroError }; HttpContext.Features.Set(errorType); return BadRequest(); } @@ -27,7 +28,8 @@ public class ValuesController : ControllerBase { if (radicand < 0) { - var errorType = new MathErrorFeature { MathError = MathErrorType.NegativeRadicandError }; + var errorType = new MathErrorFeature { MathError = + MathErrorType.NegativeRadicandError }; HttpContext.Features.Set(errorType); return BadRequest(); }