コード例 #1
0
 public ActionResult Index()
 {
     return(View(dblogic.GetAll()));
 }
コード例 #2
0
 public ActionResult <string> GetAllItems()
 {
     json = JsonConvert.SerializeObject(_dbLogic.GetAll(), Formatting.Indented);
     return(json);
 }