﻿function ShopsMapperClass() { }

ShopsMapperClass.prototype = new MapperBaseClass();

ShopsMapperClass.prototype.GetCountries = function (callback, error)
{
    var strURL = "/WebServices/RIA/Shops/Shops.svc/GetCountries";
    this.PerformAsyncGETRequest(strURL, null, callback, error);
}

ShopsMapperClass.prototype.GetCities = function (nCountryID, callback, error)
{
    var strURL = "/WebServices/RIA/Shops/Shops.svc/GetCities/" + nCountryID;
    this.PerformAsyncGETRequest(strURL, null, callback, error);
}

ShopsMapperClass.prototype.GetCityShops = function (nCityID, callback, error)
{
    var strURL = "/WebServices/RIA/Shops/Shops.svc/GetCityShops/" + nCityID;
    this.PerformAsyncGETRequest(strURL, null, callback, error);
}
