private RawViaplayModel getSectionFromWeb(String url) throws IOException {

    Log.d(TAG, "Retrieving section data from web api");

    Call<RawViaplayModel> call = mApiInterface.getSectionDetail(getUrlParam(url));
    Response<RawViaplayModel> response = call.execute();

    if (response != null) return response.body();

    return null;
  }
  private RawViaplayModel getAllSectionsFromWeb() throws IOException {

    Log.d(TAG, "Retrieving data from web api");

    RawViaplayModel model = null;

    Call<RawViaplayModel> call = mApiInterface.getAllSections();

    Response<RawViaplayModel> response = call.execute();

    if (response != null
        && response.body() != null
        && !CommonUtil.isEmpty(response.body().getSections())) {

      model = response.body();
    }

    return model;
  }