Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (21 sloc) 522 Bytes
#if false //stay within free-quota limit
using ServiceStack;
using ServiceStack.Script;
namespace SharpScript
{
[Route("/products/view")]
public class ViewProducts
{
public string Id { get; set; }
}
public class ProductsServices : Service
{
public object Any(ViewProducts request) =>
new PageResult(Request.GetCodePage("products")) {
Args = {
["products"] = TemplateQueryData.Products
}
};
}
}
#endif
You can’t perform that action at this time.