示例#1
0
 public async Task Delete(UserStatusData item)
 {
     await _context.UserStatusDataCollection.DeleteOneAsync(x => x._id == item._id);
 }
示例#2
0
 public async Task UpdateMsg(UserStatusData item)
 {
     await _context.UserStatusDataCollection.ReplaceOneAsync(x => x._id == item._id, item);
 }
示例#3
0
 public async Task Save(UserStatusData MessageTemplate)
 {
     await _context.UserStatusDataCollection.InsertOneAsync(MessageTemplate);
 }