예제 #1
0
 public ActionResult Edit(StoreViewModel model)
 {
     if (ModelState.IsValid)
     {
         StoreLogic.EditStore(model);
         return(Json(new { IsSucceeded = true }));
     }
     return(Json(new { IsSucceeded = false }));
 }
예제 #2
0
 public ActionResult Edit(StoreViewModel model)
 {
     StoreLogic.EditStore(model);
     return(RedirectToAction("Index"));
 }