Пример #1
0
 public async void AddPost(string content)
 {
     PostModel postModel = JsonSerializer.Deserialize <PostModel>(content);
     await _postRepo.CreatePost(postModel);
 }