Esempio n. 1
0
 public bool DeleteContactDetail(string Name)
 {
     try
     {
         ContactsDAL contactDAl = new ContactsDAL();
         bool        deleted    = contactDAl.DeleteContactDetail(Name);
         if (deleted)
         {
             _contactDetailsCache.RefreshKeyByChar(Name[0]);
             _contactDetailsCache.RefreshContactCountByChar();
         }
         return(deleted);
     }
     catch (Exception)
     {
         return(false);
     }
 }