示例#1
0
 private async Task Push(string command)
 {
     await _notesCollection.AddAsync(new Model.Note()
     {
         Id = Guid.NewGuid().ToString(), Date = DateTime.Now, Text = command.Replace("notes push", "")
     });
 }