public async Task UpdateTask(MyTask task)
 {
     await TasksCollection.ReplaceOneAsync(t => t.Id.Equals(task.Id), task);
 }
 public async Task DeleteTask(MyTask task)
 {
     await TasksCollection.DeleteOneAsync(t => t.Id.Equals(task.Id));
 }
 public async Task CreateTask(MyTask task)
 {
     await TasksCollection.InsertOneAsync(task);
 }