public static Cohort GetGroupById(string accessToken, string id) { var cs = new CohortService(accessToken.ToString()); var result = cs.GetById(id); return result.Result; }
public static async Task<Cohort> GetCohortById(string accessToken, string id) { var cs = new CohortService(accessToken.ToString()); var result = await cs.GetById(id); return result; }