public ActionResult Users() { var model = new ModelTestApiCall(); // build the url model.UrlRessource = LtbUrl.Build(LtbResource.Users); // set available methods model.Methods = new List<HttpVerbs>(new [] {HttpVerbs.Get}); // display the view return this.View("Call", model); }
public ActionResult UserByKey() { var model = new ModelTestApiCall(); // build the url model.UrlRessource = LtbUrl.Build(LtbResource.UserByKey, "{key_user}"); // set available methods model.Methods = new List<HttpVerbs>(new [] {HttpVerbs.Get, HttpVerbs.Post}); // list available keys model.KeyUsers = this.ListKeyUsers(); // list available languages model.Lcids = this.ListLcids(); // display the view return this.View("Call", model); }
public ActionResult DealsByUser() { var model = new ModelTestApiCall(); // build the url model.UrlRessource = LtbUrl.Build(LtbResource.DealsByUser, "{key_user}"); // list available methods model.Methods = new List<HttpVerbs>(new [] {HttpVerbs.Get}); // list available keys model.KeyUsers = this.ListKeyUsers(); // display the view return this.View("Call", model); }
public ActionResult OffersByLcid() { var model = new ModelTestApiCall(); // build the url model.UrlRessource = LtbUrl.Build(LtbResource.OffersByLcid, "{lcid}"); // list available methods model.Methods = new List<HttpVerbs>(new [] {HttpVerbs.Get}); // list available languages model.Lcids = this.ListLcids(); // display the view return this.View("Call", model); }