From 0a7975eef13413ed24e60c48699d495b5d9c304e Mon Sep 17 00:00:00 2001 From: Nokecy Date: Thu, 20 Dec 2018 21:53:02 +0800 Subject: [PATCH 1/2] ProfileController Should inherit AbpController --- .../Volo/Abp/Identity/ProfileController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs index 449383956b..30f356cac4 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs @@ -9,7 +9,7 @@ namespace Volo.Abp.Identity [RemoteService] [Area("identity")] [ControllerName("Profile")] - public class ProfileController : IProfileAppService + public class ProfileController : AbpController, IProfileAppService { private readonly IProfileAppService _profileAppService; From 0540f9d3a84d701aa9199550f70d2b8f77972c28 Mon Sep 17 00:00:00 2001 From: Nokecy Date: Thu, 20 Dec 2018 21:55:34 +0800 Subject: [PATCH 2/2] Update ProfileController.cs --- .../Volo/Abp/Identity/ProfileController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs index 30f356cac4..b1bb8a744c 100644 --- a/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs +++ b/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/ProfileController.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; namespace Volo.Abp.Identity {