You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is suggested to derive from ControllerBase instead of Controller to create API Controllers.
ABP has AbpController that derives from the Controller, but it has not a class derived from ControllerBase.
So, Create an abstract AbpControllerBase class derived from the ControllerBase and copy the necessary code from AbpController. In addition, it would be good to inherit our current API Controllers from this new AbpControllerBase class (example).
The text was updated successfully, but these errors were encountered:
It is suggested to derive from
ControllerBase
instead ofController
to create API Controllers.ABP has
AbpController
that derives from theController
, but it has not a class derived fromControllerBase
.So, Create an
abstract AbpControllerBase
class derived from theControllerBase
and copy the necessary code fromAbpController
. In addition, it would be good to inherit our current API Controllers from this newAbpControllerBase
class (example).The text was updated successfully, but these errors were encountered: