diff --git a/projects/IoTCenter/Api/ApiController.cs b/projects/IoTCenter/Api/ApiController.cs index 109259a8..1f119dbc 100644 --- a/projects/IoTCenter/Api/ApiController.cs +++ b/projects/IoTCenter/Api/ApiController.cs @@ -19,7 +19,7 @@ namespace UserCenter.Controllers [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] [ApiController] - public class ApiController : Controller + public class ApiController : ControllerBase { private readonly IHostEnvironment _env; private readonly IConfiguration _configuration;