LoadData() 공개 메소드

public LoadData ( ) : bool
리턴 bool
예제 #1
0
 // GET: LoadData
 public ActionResult Index()
 {
     if (m.LoadData())
     {
         return(Content("data has been loaded"));
     }
     else
     {
         return(Content("data exists already"));
     }
 }
 // GET: Load
 public ActionResult Index()
 {
     m.LoadData();
     return(RedirectToAction("Index", "Home"));
 }