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