public async Task <ResponseData> DeleteUserRole([FromBody] SaveUserRoleResource resource) { var userResponse = await userRoleService.DeleteRole(resource.UserId, resource.RoleId); var userResource = mapper.Map <User, UserResource>(userResponse.User); var result = new ResponseData { Success = true, Message = "", Data = userResource }; return(result); }