public async Task Delete(UserStatusData item) { await _context.UserStatusDataCollection.DeleteOneAsync(x => x._id == item._id); }
public async Task UpdateMsg(UserStatusData item) { await _context.UserStatusDataCollection.ReplaceOneAsync(x => x._id == item._id, item); }
public async Task Save(UserStatusData MessageTemplate) { await _context.UserStatusDataCollection.InsertOneAsync(MessageTemplate); }