I am using Web APIS but only in the Controller. In my view I can not access the model, it tells me that a use is missing or something like that. What I want is to generate a type type input to capture the value and filter by customer name.
Html Helpers do not work with collections but you have @model IEnumerable<apiuno.Models.tbl_clientes>
, which is a collection, defined as your model.
Try changing it to:
@model apiuno.Models.tbl_clientes
Or defining it in html:
<input type="text" name="NombreCia" />