Exemplo n.º 1
0
 public ActionResult Index()
 {
     return(View(dblogic.GetAll()));
 }
Exemplo n.º 2
0
 public ActionResult <string> GetAllItems()
 {
     json = JsonConvert.SerializeObject(_dbLogic.GetAll(), Formatting.Indented);
     return(json);
 }