/// <summary> /// Add a collector /// </summary> /// <param name="collector"></param> /// <returns></returns> public bool AddCollector(Collector collector) { try { repoLayer.InsertCollector(connection, collector); log.Info("Added new collector: " + collector.Forename + " " + collector.Surname); return(true); } catch (Exception e) { log.Error(e, "Error on call."); } return(false); }