コード例 #1
0
        public async Task <ActionResult> Edit([Bind(Include = _bindAll)] ExpenseModel expense)
        {
            if (ModelState.IsValid)
            {
                await _service.Edit(expense);

                return(RedirectToAction("Index"));
            }
            return(View(expense));
        }