this is my code in parameter of table Porto (fields are CodPorto and Des)
Namespace Controllers
Public Class PortoController
Inherits System.Web.Http.ApiController
Private db As New ES42Entities
' GET: api/Porto
Function GetPortoes() As IQueryable(Of Porto)
Return db.Porto
End Function
I don't know how to add parameters to search with url like this:
http://localhost/abc/api/Porto?CodPorto=1
I thanks in advance everyone that could help me.
bye
George