MVC5 - What is the correct way to work with MVC in case of data return from a grid?

2

I have a template with 4 fields that after a filter displays a grid with X records on the same page (VIEW).

I would like to know the best way to return the data of the grid in question to the controller?

Simplified example (Model):

    namespace WebApplication1.Models 
    {
        public class modeloTST
        {
            [Display(Name = "Informe a Nome:")]     
            public string Nome { get; set; }     //filtro

            public List<classeTST> lstITENS{ get; set;}  //exibicao em grid
        }
    }
    
asked by anonymous 04.04.2017 / 19:45

0 answers