Пример #1
0
 internal bool DeleteContact(int Id)
 {
     try
     {
         contactManager.DeleteById(Id);
         return(true);
     }
     catch (Exception ex)
     {
         var loger = LogManager.GetLogger("*");
         loger.Log(LogLevel.Error, ex.Message);
         return(false);
     }
 }