Beispiel #1
0
 public IHttpActionResult Get()
 {
     try
     {
         List <ProductoEnCarrito> todos = ProductoEnCarritoBLL.List();
         return(Content(HttpStatusCode.OK, todos));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }
Beispiel #2
0
 // GET: ProductoEnCarritos
 public ActionResult Index()
 {
     return(View(ProductoEnCarritoBLL.List()));
 }