private static List <MediaOrigin> GetAccountOrigins(MediaServicesAccountConfig account) { var controller = new OriginsController(); var origins = controller.GetOrigins(account); return(origins); }
private void GetOriginDetails(MediaServicesAccountConfig accountConfig, MediaService accountInfo) { var originsController = new OriginsController(); accountInfo.Origins = originsController.GetOrigins(accountConfig); }