Exemplo n.º 1
0
        public void Buscar()
        {
            PlanLogic comlo = new PlanLogic();

            this.gridview.DataSource = comlo.GetPlan(this.txtbuscar.Text);
            this.gridview.DataBind();
        }
Exemplo n.º 2
0
        public ActionResult Submit(string datastream)
        {
            string[] data    = datastream.Split(';');
            string   from    = data[0];
            string   to      = data[1];
            string   arrival = data[2];


            pLogic.GetPlan(from, to, arrival);
            return(RedirectToAction(nameof(Index)));
        }