diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index 3c42137..8822aea 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -246,7 +246,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> GetOneUser(string guid) + public async Task> GetOneUser([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -283,7 +283,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneUser(string guid) + public async Task> DeleteOneUser([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -322,7 +322,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> SaveRole(PostRole post) + public async Task> SaveRole([FromBody] PostRole post) { ApiResult apiResult = new ApiResult(); @@ -395,7 +395,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> GetOneRole(string guid) + public async Task> GetOneRole([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -431,7 +431,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneRole(string guid) + public async Task> DeleteOneRole([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -480,7 +480,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task>> RoleAuthList(PostRoleAuthFilter post) + public async Task>> RoleAuthList([FromBody] PostRoleAuthFilter post) { ApiResult> apiResult = new ApiResult>(); List roleAuthList = new List(); @@ -618,7 +618,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneRoleAuth(PostDeleteRoleAuth post) + public async Task> DeleteOneRoleAuth([FromBody] PostDeleteRoleAuth post) { ApiResult apiResult = new ApiResult();