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