Esempio n. 1
0
 // GET: api/M_Products
 public IEnumerable <M_ProductViewModel> Get()
 {
     return(M_ProductRepo.Get());
 }
Esempio n. 2
0
 public ActionResult List()
 {
     return(View("_List", M_ProductRepo.Get()));
 }