Exemplo n.º 1
0
        public async Task <IActionResult> ChangeUserSettings([FromBody] ChangeUserSettingsRequestDto message, long id)
        {
            message.UserID = id.AsInt();

            if (await message.PublishWhenValid(_publishEndpoint))
            {
                return(Ok());
            }
            return(BadRequest());
        }
Exemplo n.º 2
0
 public IActionResult ChangeUserSettings([FromBody] ChangeUserSettingsRequestDto message, long id)
 {
     return(Ok());
 }