in app/com/gu/floodgate/contentsource/ContentSourceService.scala [9:17]
def getAllContentSources()(implicit ec: ExecutionContext): Future[Seq[ContentSource]] = contentSourceTable.getAll()
def getContentSources(id: String)(implicit ec: ExecutionContext): Future[Either[CustomError, Seq[ContentSource]]] = {
contentSourceTable.getItems(id) map { contentSources =>
if (contentSources.isEmpty)
Left(ContentSourceNotFound(s"A content source with id: $id does not exist."))
else Right(contentSources)
}
}