Esempio n. 1
0
 public void Delete(int telegramId)
 {
     Cache.Remove(string.Format(SingleKeyFormat, telegramId));
     TgDao.Delete(telegramId);
 }
Esempio n. 2
0
 public void Delete(Guid userId, int tenantId)
 {
     Cache.Remove(string.Format(PairKeyFormat, userId, tenantId));
     TgDao.Delete(userId, tenantId);
 }