Exemplo n.º 1
0
 public ICollection <Parada> listarParadas()
 {
     try
     {
         return(blg.ListarParadas());
     }
     catch (Exception e)
     {
         throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, e.Message));
     }
 }
 public ICollection <Parada> ListarParadas()
 {
     return(blg.ListarParadas());
 }