diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index a6756f6..5b926c2 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -245,7 +245,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> GetOneUser(string guid) + public async Task> GetOneUser([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -282,7 +282,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneUser(string guid) + public async Task> DeleteOneUser([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -321,7 +321,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> SaveRole(PostRole post) + public async Task> SaveRole([FromBody] PostRole post) { ApiResult apiResult = new ApiResult(); @@ -394,7 +394,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> GetOneRole(string guid) + public async Task> GetOneRole([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -430,7 +430,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneRole(string guid) + public async Task> DeleteOneRole([FromBody] string guid) { ApiResult apiResult = new ApiResult(); @@ -479,7 +479,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(); @@ -617,7 +617,7 @@ namespace FrontendWebApi.ApiControllers /// /// [HttpPost] - public async Task> DeleteOneRoleAuth(PostDeleteRoleAuth post) + public async Task> DeleteOneRoleAuth([FromBody] PostDeleteRoleAuth post) { ApiResult apiResult = new ApiResult();