Why the program hangs?

Good day!
Please help to understand. Click the button to Mongo need to add the item in the document... Button goes out, and back becomes available and the whole form freezes while the item is added to database (checked via mangovski console). What I do wrong?
private async Task AddReplic(string mess, string str)
 var client1 = new MongoClient(connectionString);
 var database1 = client1.GetDatabase("test");
 var collection1 = database1.GetCollection<bsondocument>("testcollection");
 var filter = Builders<bsondocument>.Filter.Eq("Mess", mess);
 var update = Builders<bsondocument>.Update.AddToSet("Replics",str);
 var result = await collection1.UpdateOneAsync(filter, update);

 private void button2_Click(object sender, EventArgs e)
 button2.Enabled = false;
AddReplic (The"Texttext","Uraura").Actual().GetResult();
 button2.Enabled = true;
July 9th 19 at 13:25
1 answer
July 9th 19 at 13:27
Add async to the method definition the clique and await the method call. With mobile phones hard to see what's in the add, Davison still can be , if before the first await will block
if done exactly as written, it swears on .Actual().GetResult(); "Cannot be pending void", but if without .Actual().GetResult(); then everything works as it should.

Thank you! - Sidney_Koss commented on July 9th 19 at 13:30
Result cause , of course, is not necessary, it will block the execution. Please. - mercedes commented on July 9th 19 at 13:33

Find more questions by tags C#MongoDBNoSQL