public ActionResult <object> Get(string collectionname, string param1, string param2, string param3, string param4, string param5, string param6, string param7) { TSContext context = new TSContext("chapa"); var list = context.read(collectionname + "/" + param1 + "/" + param2 + "/" + param3 + "/" + param4 + "/" + param5 + "/" + param6 + "/" + param7, true); var response = new TSResponse(); return(response.select(list)); }
public ActionResult <object> Get(string collectionname) { TSContext context = new TSContext("chapa"); return(context.read(collectionname, true)); }