Пример #1
0
 public async void Post([FromBody] dynamic value)
 {
     string      jsonResponse = Convert.ToString(value);
     UserMessage submission   = JsonConvert.DeserializeObject <UserMessage>(jsonResponse);
     await service.SetUserMessage(submission);
 }