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