support for commercial modules, themes, translations

This commit is contained in:
Shaun Walker
2021-08-16 09:46:02 -04:00
parent ffe724b32d
commit ffcc229c78
14 changed files with 57 additions and 51 deletions

View File

@ -22,12 +22,12 @@ namespace Oqtane.Services
public async Task<List<Package>> GetPackagesAsync(string type)
{
return await GetPackagesAsync(type, "", "");
return await GetPackagesAsync(type, "", "", "");
}
public async Task<List<Package>> GetPackagesAsync(string type, string search, string price)
public async Task<List<Package>> GetPackagesAsync(string type, string search, string price, string package)
{
return await GetJsonAsync<List<Package>>($"{Apiurl}?type={type}&search={WebUtility.UrlEncode(search)}&price={price}");
return await GetJsonAsync<List<Package>>($"{Apiurl}?type={type}&search={WebUtility.UrlEncode(search)}&price={price}&package={package}");
}
public async Task<Package> GetPackageAsync(string packageId, string version)