示例#1
0
        public ActionResult Edit([Bind(Include = "Id,Name,Address")] StoreDto store)
        {
            if (ModelState.IsValid)
            {
                _storeAppService.UpdateStore(store);

                return(RedirectToAction("Index"));
            }

            return(View(store));
        }