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