예제 #1
0
 public async Task Post([FromBody] TodoModel todo)
 {
     var mongoDbService = new MongoDbService(DatabaseName, "Todos", DatabaseUrl);
     await mongoDbService.InsertTodo(todo);
 }