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); } }