private static async Task<string> GetCohortCustomByCohortId(CohortService cs, string cohortId) { try { var result = await cs.GetCustomById(cohortId); return result; } catch (Exception ex) { //when there isn't a custom yet, SLC throw a 404 return ""; } }