Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
#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